Content and images

Image dimensions

This check finds img elements without declared width and height, which prevents the browser reserving space early.

01

What is measured

The audit counts images missing either dimension attribute in the source HTML.

02

Pass criterion

Every image supplies dimensions or receives a stable aspect ratio through its component and CSS.

03

What to fix

Add width and height from the source file, scale responsively and avoid changing proportions in styles.

04

Automation limit

Dimension attributes improve stability but do not guarantee an optimal file weight, format or visual quality.

Reference

Official documentation

web.dev: images without dimensions

Check this and every other signal

Start the free audit