3
Contributors
6
Replies
22
Views
3 Years
Discussion Span
Last Post by harishjan29
0

Yes, you can link to a page instead of the image file itself, then using server side code, code your response headers so that the image is downloaded as an attachment.

0

No, html is just markup. You have to either control this via server side code as I described above, or change the behavior on the web server regarding how it handles requests for .jpg|.png|.gif files.

0

Hey found this online. This seems to work just fine. Thanks!

<a href="link to file" download>Anchor Text</a>
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.