In short
PageSpeed flags images without width and height attributes (or a CSS size). The browser doesn't know how much space to reserve, so content jumps when the image loads, which adds to CLS. Add the image's real pixel width and height as attributes; CSS can still make it responsive.
This check lives on as its own diagnostic in Lighthouse 13.
The fix
<img src="/uploads/team.webp" width="1200" height="800" alt="Our team">
img { max-width: 100%; height: auto; }
The browser uses the width and height to work out the aspect ratio, so the image scales and the space is still reserved.
WordPress: core adds dimensions to images in content; flags usually come from theme templates, logos or page-builder widgets. Shopify: use the theme's image tag helpers, which output dimensions. Webflow: set sizes on images, especially in Collection lists. Wix: usually handled. Custom builds: store dimensions at upload and output them.
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
web.dev, Optimize Cumulative Layout Shift
Chrome for Developers, What's new in Lighthouse 13

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



