P2 · MediumPerformance
Missing image dimensions
Images without width/height cause layout shift
Code: missing_image_dimensions
Why it matters
Images without width/height cause layout shift. Slow experiences increase bounce rates and hurt Core Web Vitals scores. Google uses these metrics as a direct ranking signal.
How to fix
Add width and height to prevent layout shift
html<!-- Before -->
<img src="photo.jpg" alt="Photo">
<!-- After -->
<img src="photo.jpg" alt="Photo" width="800" height="600">Related checks in Performance
Run a free scan to check your site
Get a complete audit in under 2 minutes. No account required.
Start Free Scan