Rubens Cury Posted March 26, 2015 Share Posted March 26, 2015 Hi Prestashop Developers, I'm trying to find a way to open in browser instead of download - when it's possible - the product attachments. Any suggestion? The header generated by the link->getPageLink('attachment', true, NULL, 'id_attachment=99') always force to download the file by the browser. Many times we don't want to download and then open a simple image file or any PDF for example. Would be much easier to display it in browser or even by the fancybox plugin. I appreciate if anybody could help Thanks, Rubens Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now