Skip to content
AbsoluteFirst

Guides / Speed

Images load without reserved space, so the page jumps

Tell the browser how big an image is before it arrives, and nothing has to move when it does.

Why it matters

If an image tag does not state its dimensions, the browser gives it zero height until the file arrives, then pushes everything below it down. That is the jump that makes people tap the wrong button.

Google measures this as Cumulative Layout Shift, one of the three Core Web Vitals. Declaring width and height lets the browser reserve the right space from the start.

How to fix it

  1. Add width and height attributes matching each image’s real pixel dimensions. CSS can still scale it; the browser uses the ratio.
  2. Add loading="lazy" to images below the first screen so they do not compete with the content at the top.
Example (example)
<img src="team.jpg" alt="Our service team beside the van" width="1200" height="800" loading="lazy">

How we check it

We re-read each page and count images without dimensions.

Where it sits in the plan

Stage 4 of 5, “Keep the visitor”. Speed and stability matter most once people are arriving. These fixes protect the traffic the earlier stages earn.

Typical effort: about 1 hours. In plain terms: ask your developer to set width and height on images so the page stops jumping while it loads.

Does your site have this problem?

Scan it and see the evidence from your own pages.

Related guides