Website Prevent Cumulative Layout Shift (CLS)

Website Prevent Cumulative Layout Shift (CLS) to improve Pagespeed score

Technical Name:
Sunflower IT
  • Odoo Version

Terms and Conditions 

Website Prevent Cumulative Layout Shift (CLS)

Beta License: AGPL-3 OCA/website Translate me on Weblate Try me on Runbot

This module can improve the Google PageSpeed score of individual website pages.

In particular, it improves the score for Cumulative Layout Shift(CLS) by adding the width and height to the images in the page.

It also provides quick access to adjust the Width/height instead of using the default optimize option when uploading an image.

Table of contents


To use this module:

  • By default, it will add the selected width/height when uploading a new image
  • When editing the image, in the Description pop-up, there's a provision to adjust the size.

Known issues / Roadmap

  • This does not add width/height for images that were already uploaded. These would either have to be reuploaded, or a migration script is needed.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Sunflower IT



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/website project on GitHub.

You are welcome to contribute. To learn how please visit

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products