Jump to content

Change extension of product image??


capi666
 Share

Recommended Posts

Hi experts,

Is it possible change the extension of the product´s image?

I want to upload a gif or png with transparent background, but the extension of the image always is jpg, can i change it? I have the version 1.3.1.1

Thanks in advance,
Regards,

Share this post


Link to post
Share on other sites

  • 3 weeks later...

That's right. If you upload a PNG file through the Back Office, there is no way to stop it being converted to a JPG file. PrestaShop does this to keep the file sizes small and so all images have a predictable file extension that can be used in friendly URLs.

In some cases, like with the shop's logo, it is possible to upload a PNG file using FTP so that it doesn't get converted, then edit header.tpl to change the file extension. Doing the same for product images would be much more difficult.

Share this post


Link to post
Share on other sites

... No ! I can't read it !

I must to have my product image on a PNG File because I did a script who change automatically the color of my product and i just need 1 thing to success : PNG Photo !

Please, i'm sure somewhere there is just a line to modify.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More