Allow for image downloads by editing htaccess

So evidently, using the HTML element to allow for file/image downloads doesn’t work in Chrome (I’ve confirmed does work with Edge & Firefox). Instead of prompting user to download/save image, it opens pictures in new tab. I found this post ( that suggests modifying .htaccess with:

<FilesMatch "\.(jpg|png)$" >
    ForceType application/octet-stream
    Header add Content-Disposition "attachment"

Does anyone have any suggestions on a way around this? Thanks!

This topic was automatically closed after 70 days. New replies are no longer allowed.