Lazy-load below-the-fold images

Native loading=lazy defers offscreen images and iframes until they approach the viewport. Apply it only below the fold, keep width and height so space is reserved, and never lazy-load the LCP image. Verify in the Network panel that above-the-fold media loads immediately.

lowIn codeimpact effort

Why this matters

Defer offscreen media, never the hero.

Get the full breakdown

The extended brief explains when this works, when it does not, and the trade-offs. Join the waitlist and it unlocks for every tip when sign-in opens; MCP access is the paid part.

Join the waitlist

Before you start

  • Access to image templates

How to apply it

  1. Mark above-the-fold media General best practice

    Identify images visible at the top of each template. These must load eagerly; everything below the first viewport can be deferred.

    Check: Each template has a written list of eager images, including the hero.

  2. Add loading=lazy below the fold

    Set loading=lazy on offscreen images and iframes, and keep width and height attributes. Remove JavaScript lazy-load libraries where native support is enough.

    Check: The rendered HTML has loading=lazy on below-fold images and no lazy attribute on the hero.

  3. Check load order General best practice

    Load the page in the Network panel, confirm hero requests start immediately, then scroll and confirm deferred requests begin.

    Check: Hero image request starts before scroll; deferred images do not request until approaching the viewport.

Get the prompt for your agent

A ready-to-paste prompt for your agent that implements this tip and verifies the result in your repo.

Join the waitlist

Source: seo-mcp playbook · curated entry · report an error

Framework notes

nextjs-app

`next/image` lazy-loads by default; add `priority` to the hero and `loading="eager"` to any other above-fold image.

shopify

In Liquid, add `loading="lazy"` to images outside the first section and keep the first product image eager with explicit width and height.

Official references

Let your agent apply this + 161 more tips.

Pre-order — $19