Skip to main content
Set dl on any CDN transform URL to send Content-Disposition: attachment instead of displaying the image inline.
<a href="https://cdn.convertly.sh/{key}/{id}?w=1200&format=jpeg&dl=hero.jpg">
  Download JPEG
</a>

Parameters

ParamValueDefault
dl (download)Force download. dl=filename.jpg sets the filename. dl=1, dl=true, or bare dl uses a derived name from the source file + output format extension.inline display

Examples

Custom filename:
?w=1200&format=jpeg&dl=product-hero.jpg
Derived filename (from stored file name + output format):
?w=800&format=webp&dl=1
Combine with any transform — resize, format=auto, bgRemove, presets, and signed URLs all work the same way. The attachment header is applied to the final encoded bytes after the pipeline runs. See Format & delivery for negotiation and encoding options.