Jump to content

Change extension of product image??


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

Thanks in advance,

Link to comment
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.

Link to comment
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
  • Create New...