Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
3091 Vizualizări

Can we upload WebP images on Odoo? 

It is super important for SEO!

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Starting V16.4 Odoo integrates WebP but in Odoo 17 WebP is integrated everywhere.
Adding JPEG to your database, Odoo will automatically transform those pictures into WebP.

It has the advantage of being way lighter, it allows the page to load faster!

Imagine profil
Abandonează
Cel mai bun răspuns

It does not seem to work as expected. Uploading JPEG (or PNG) as product images seems to result in JPEG (or PNG) in frontend. Other images are translated to WebP correctly.

Imagine profil
Abandonează
Cel mai bun răspuns

Here is the behavior you can expect from Odoo regarding image conversion to WebP :

Version 17

  • When you upload an image through the website, it is automatically converted to WebP format.
  • When you upload a product image via the website, it is also automatically converted to WebP.
  • However, if you upload a product image from the Odoo back-end, it is not converted to WebP format.

Version 18

  • Uploading an image through the website automatically converts it to WebP.
  • Product images uploaded via the website are also converted to WebP automatically.
  • Product images uploaded through the Odoo back-end are converted to WebP.
  • However, images imported via an Excel or CSV file are not converted to WebP.

General Note

Images already stored in your Odoo database prior to upgrading to Version 17 or 18 will not be converted to WebP format automatically.

If you want to convert existing product images to WebP, you’ll need to handle the conversion outside Odoo and then re-import them into Odoo.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 25
406
2
iul. 25
526
1
iun. 25
1363
5
iun. 25
16543
1
iun. 25
647