How can I modify
<a href="someimage">Download this</a>
in order to invoke the download dialog box?
How can I modify
<a href="someimage">Download this</a>
in order to invoke the download dialog box?
Instruct the server to send it with a generic binary MIME type - binary/octet-stream is good for this. Standards conforming browsers will then just download it.
You could send a
Content-disposition: attachment; filename=someimage.jpg
HTTP header.