Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
2868 Переглядів

Can we upload WebP images on Odoo? 

It is super important for SEO!

Аватар
Відмінити
Автор Найкраща відповідь

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!

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лип. 25
235
2
лип. 25
297
1
черв. 25
1247
5
черв. 25
16150
1
черв. 25
535