Menu
Hi all—
I want viewers to be able to download text and jpg files from my website. There’s no problem with the text files, which download when the viewer clicks on the link; but when you click on the link to a JPG file, up pops the image. How do I get the JPG to download to the viewer’s computer without opening in the browser?
Here’s the code for a text file link:
<a href=”text.doc”>text document</a>
Using the same code for a JPG file, the image loads into the browser rather than downloading:
<a href=”puppy.jpg”>puppy pic</a>
Thanks for any suggestions.