I have an Ubuntu Apache server with Mautic installed, which allows to upload images and files, and then link them in emails etc.
When I upload a pdf and then open the link to it - it opens in browser. When I upload a jpg or gif file - it forces download...
I tried to add the following to the .htaccess in the files folder, and it did nothing:
<IfModule mod_headers.c>
<FilesMatch "\.jpg$">
Header append Content-Disposition "inline"
Header set Content-Type "image/png"
</FilesMatch>
</IfModule>
How can I allow the browser to show the images in it, without downloading?
Thanks