News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Need images to download not open

Started by wolfspyryt, 03.03.2015 04:05:43

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolfspyryt

I have .pmg & .gif for the download, and when the user clicks download, it opens the image in a browser. I need it to download. I have removed both png & gif from the "Open in browser" section and yet it does not change. I have the php script off and need it off. I have looked high and low for a solution, hope you can offer one please and thank-you.
  •  

wolfspyryt

I even removed all files from the "Which file types are to be opened in the Browser?" section. Opened phpMyadmin and verified that the Data Base had the right data and it does.
  •  

wolfspyryt

I resolved with an .htaccess file and the following code added to it:
<FilesMatch "\.(?i:doc|png|jpg|jpeg|gif)$">
  Header set Content-Disposition attachment
</FilesMatch>

I then placed that .htaccess file in each folder that contained images as downloads. I then turned off the php script and now my images download perfectly. Also, my app specific files now open with the correct app!!!
  •  

ColinM

Hi
Thank you for the info to solve the problem.

Colin
Colin M
  •