Skip to content
SEO Audit Checker

Images without width and height

Medium priorityImages

Images don’t declare width and height, so the page jumps around as they load.

What triggers this issue

  • One or more images are missing a width or height attribute.

Why it matters

Without dimensions, the browser can’t reserve space for an image until it downloads, so text shifts down when it appears. That shift is measured as Cumulative Layout Shift, a Core Web Vital Google uses for ranking.

How to fix it

  1. Add width and height attributes with the image’s intrinsic size; CSS like max-width: 100%; height: auto keeps it responsive.
  2. Alternatively, set a CSS aspect-ratio on the image or its container.
Sized image
<img src="photo.jpg" alt="…" width="1200" height="800" style="max-width:100%;height:auto">
In-depth guideHow to optimize images for faster pages

See all 82 SEO issues →