Image Elements Have Explicit Width and Height
Image elements lacking explicit width and height attributes.
Why it matters
Images without width and height attributes can cause layout shifts as they load, degrading Cumulative Layout Shift and page stability.
How to fix it
- Add width and height attributes matching each image’s natural aspect ratio.
- Keep width and height attributes for aspect ratio even when CSS sizes the image responsively.
- Update image templates so new components include explicit dimensions.
Where to find it
This finding is reported in the PageSpeed tab, and appears in Findings under the matching severity.
A term you don't recognise is defined in the glossary.
Other pagespeed findings
- Document Request Latency
- LCP Request Discovery
- Render Blocking Requests
- Network Dependency Tree
- Use Efficient Cache Lifetimes
- Layout Shift Culprits
- Improve Image Delivery
- Forced Reflow
- Legacy JavaScript
- Duplicated JavaScript
- Avoid Enormous Network Payloads
- Minify CSS
- Minify JavaScript
- Reduce Unused CSS
- Reduce Unused JavaScript
- Reduce JavaScript Execution Time
- Minimize Main-Thread Work
- Optimize DOM Size
- Font Display
- Third Parties
- LCP Breakdown
- Avoid Long Main-Thread Tasks
- User Timing Marks and Measures
- INP Breakdown
- Optimize Viewport for Mobile
- Avoid Non-Composited Animations
Findings library, by category.