KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to force user to download images. Not open in browser. It is possible to use HTML5 this attribute download but currently only Chrome supports it. I tried .htaccess solution but it doesn't work. <Files *.jpg> ForceType application/octet-stream Header set Content-Disposition attachment </Files> How can I force download all my images if user click on the link ? <a href="http://blablabla.com/azerty/abc.jpg" target="_blank" />Download</a>
Tags (comma-separated)
Save Edits
Cancel