Connection failed. Please try again.

Skip to content
SEO Tools
Help and documentation
Speed Medium impact Easy 10–30 min

Lazy loading images

Load off-screen images only when scrolling.

What it is

Lazy loading means that images outside the visible area aren't loaded immediately, but only when the user scrolls to them. The loading="lazy" attribute is enough.

Why it matters

Without lazy loading, the browser downloads even images at the very bottom of the page that the user may never see — this delays the first render and wastes data. Lazy loading speeds up the start and saves transfer.

How to do it

  1. 1Add loading="lazy" to images and iframes below the visible area.
  2. 2Do NOT use lazy on the main above-the-fold image (the LCP image) — you want that one as early as possible (preload it if needed).
  3. 3Always specify width and height so the layout doesn't jump (CLS).

Example

Correct
<img src="gallery-12.webp" alt="..." loading="lazy" width="800" height="600">

Conclusion

Lazy loading is native today (one attribute) and speeds up pages with many images almost for free. Just watch out for the main above-the-fold image — don't make that one lazy. Add dimensions for layout stability.

Related topics