Images Missing Dimensions
This error appears when one or more images on your page don't have their width and height attributes defined. Here's what it means and how to add them so your site loads faster.
What this error means
Why defining image dimensions matters
Impact on SEO rankings
CLS is one of the Core Web Vitals metrics Google uses to decide how to rank your page. Having images without defined dimensions raises your CLS score and can negatively affect your visibility in search results.
Impact on user experience
When content moves while the page loads, users lose track of where they were reading or may click on something they didn't want. That creates frustration and increases the chances they'll leave the page early.
Negative signals for site quality
Images without defined dimensions indicate that the site's technical details aren't being looked after. For Google, a site with a high CLS doesn't prioritize user experience, and that has consequences for how it evaluates you.
How to fix it step by step
If this error showed up in your audit, here are the steps to leave it behind.
Identify which images are missing defined dimensions
Ruk Audit shows you which images have the width and height attributes absent. Review them before editing anything and prioritize those on the most important pages.
Check the actual dimensions of each image
Before adding the attributes, you need to know how large each image is. You can check this by opening the file on your computer or from your CMS media manager.
Add the width and height attributes to each image
With the dimensions on hand, add the width and height attributes to each image tag. The values must match the actual file dimensions so the browser reserves the correct space. You can do this from your CMS editor or directly in the HTML code.
Verify that layout shifts have disappeared
Once the dimensions are added, check that the page loads without visual shifts and that your CLS score has improved. You can measure it with Google PageSpeed Insights before and after the change.
Does your site have this problem?
Audit your website for free and discover if this and other SEO errors are affecting your ranking.