Hey everyone! In this video I'm talking about how to fix "Image elements do not have explicit width and height" issue when you run a Page Speed Insights report on your Webflow site.
In web, every image lives inside a container which acts as a placeholder while the image is loading. if this image container doesn't know how wide or tall your image is, it won't allocate the space. Which ultimately will lead to another Web Vitals issue. And that's your Cumulative Layout Shift (CLS).
👌 Make sure you watch the previous video covering 'Serve images in next-gen formats' issue:
https://www.youtube.com/watch?v=ovJ5begUXKk
This episode is part of 'Page Speed Insights' course which goes through all the Web Vitals issues and show how to fix them.
Download
0 formats
No download links available.
WEBFLOW WEB VITALS: Image Elements Do Not Have Explicit Width & Height | NatokHD