Important

LCP Image Dimensions

priority_high Why it matters

Explicit image dimensions prevent layout shift and speed up LCP, improving crawl efficiency and user experience.

search What we check

Whether the first (hero) image has explicit width and height attributes to prevent layout shift.

build How to fix

  1. 1 Add width and height attributes to your hero image.
  2. 2 Example: <img src="..." width="1200" height="630">.
  3. 3 This prevents Cumulative Layout Shift (CLS) and speeds up rendering.

Does your site pass this check?

This is 1 of 99 checks we run. Find out in under 30 seconds.