Jump to content

Webp automatically convert into JPG


kkmixs

Recommended Posts

Hi,

I successfully implement the option to upload Webp image format. Following the below link, now I can upload Webp on my product page.

https://github.com/PrestaShop/PrestaShop/pull/24394

However, Prestashop is automatically converting my webp image format to JPG. Even in the backend when I check the folder using FTP, I do not find my webp image uploaded in it.

In short, my images are getting converted into JPG format. And, even Webp is not available on my server

Kindly note, I am using Prestashop 1.7.8.9 and i think this is because of Prestashop not supporting multiple image format. So, can anyone help in allowing multiple image formats in Prestashop 1.7

Please Help. I want to show Webp image not JPG compressed image.

Link to comment
Share on other sites

  • 3 weeks later...
On 7/23/2023 at 9:10 AM, kkmixs said:

Hi,

I successfully implement the option to upload Webp image format. Following the below link, now I can upload Webp on my product page.

https://github.com/PrestaShop/PrestaShop/pull/24394

However, Prestashop is automatically converting my webp image format to JPG. Even in the backend when I check the folder using FTP, I do not find my webp image uploaded in it.

In short, my images are getting converted into JPG format. And, even Webp is not available on my server

Kindly note, I am using Prestashop 1.7.8.9 and i think this is because of Prestashop not supporting multiple image format. So, can anyone help in allowing multiple image formats in Prestashop 1.7

Please Help. I want to show Webp image not JPG compressed image.

PrestaShop, by default, uses the JPG format for images due to its widespread compatibility across browsers and devices. Even if you upload images in WebP format, PrestaShop's image processing system will convert them to JPG during the regeneration process.

I don't know how to prevent this from happening but what I have recently did is installed a module that properly and very efficiently converts all the images in the website into WebP format. Is not cheap, but this particular module has a quite different approach from all other similar modules and is so much efficient, it compresses the image so well that enhanced the navigation experience and freed a huge space on my hosting. Here you have it in case it interests you:

https://addons.prestashop.com/es/rendimiento-sitio-web/89908-jpresta-webp-image-converter.html

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...