Jump to content

Edit History

sneko

sneko

@Mediacom87 are you talking about the MIME type provided by the server through a `Content-Type` HTTP header?

In my case I configured my PrestaShop to use webp for all images, and I regenerated all thumbnails. But still, all images have the `.jpg` extension, and their `Content-Type` from the server is `image/jpeg`.

I also try to create a new product with new webp images but still the same. There is no indication any `webp` format has been used somewhere.

I tried to look at image tag both on front office and back office, they are all talking about JPG.

NB: I understand the point of the extension being useless since the MIME type can be forced from the HTML tag or from the server, just wondering about my case where there is no indication at all? Or there is a bit marker within the binary that makes the browser understanding it no matter the wrong MIME type from the HTTP header?

sneko

sneko

@Mediacom87 are you talking about the MIME type provided by the server through a `Content-Type` HTTP header?

In my case I configured my PrestaShop to use webp for all images, and I regenerated all thumbnails. But still, all images have the `.jpg` extension, and their `Content-Type` from the server is `image/jpeg`.

I also try to create a new product with new webp images but still the same. There is no indication any `webp` format has been used somewhere.

I tried to look at image tag both on front office and back office, they are all talking about JPG.

×
×
  • Create New...