Use native lazy loading for images that are not needed in the first viewport, and keep initially visible images on normal loading. Preserve a real image URL and accurate dimensions, then check that the image appears when approached. The browser controls when it fetches a lazy image; a successful browser check alone does not prove search indexing or a performance gain.
On this page
- Decide from the first screen, not the filename
- Make a small image inventory
- Keep a usable image URL and accurate dimensions
- Check what the public page actually does
- What an isolated browser check can establish
- Check search visibility separately from browser scrolling
- Keep the decision with the page
- Sources & further reading
Lazy loading is a delivery choice for each image. Start by asking whether someone needs to see it when the page first opens, then check the actual result on narrow and wide screens.
A blanket switch for every image can delay the visual that introduces the page. The opposite blanket rule can fetch a long gallery before a visitor needs it.
Decide from the first screen, not the filename
Native loading="lazy" lets the browser defer an image until it approaches the viewport. The browser chooses that distance; it is not a promise to wait until the visitor reaches the exact image.
For images visible when the page opens, use normal loading rather than deferring them. This is especially important when the image is likely to be the page's Largest Contentful Paint element; that element can also be text. Setting loading="eager" uses normal loading; it is not itself a request for a higher fetch priority.
The same file can have a different role on another layout. A photograph placed near the top of a short service page needs a fresh decision if it also appears much later in a long guide.
Make a small image inventory
Consider a fictional pottery workshop's class page. The page, photographs and paths in this example are illustrative.
| Image and placement | Initial decision to check |
|---|---|
| Opening photograph of the teaching space, visible on the first screen | Keep normal loading. |
| A technique photograph deep in the class preparation guide | Consider native lazy loading. |
| The same technique photograph moved near the top of a shorter page | Reassess from the new layout; do not retain lazy loading just because of its filename. |
Check both phone and desktop layouts before applying the decision. Record where the image appears and why it is useful at that point, rather than deciding from the order of files in a media library.
Also ask whether the image belongs on the page. Lazy loading can defer an unnecessary picture, but removing an unnecessary picture may be the clearer editorial choice.
Keep a usable image URL and accurate dimensions
For plain HTML, the fictional page could use these two image elements:
<img src="/images/workshop-room.webp"
alt="Workbenches ready for a pottery class."
width="1200" height="630" loading="eager">
<img src="/images/bowl-step.webp"
alt="Hands smoothing the rim of a clay bowl."
width="1200" height="630" loading="lazy">
The paths are placeholders, not assets supplied by this article. Replace them with real files and use those files' actual dimensions. Keep your site's responsive image styling so the images fit their containers.
Width and height help reserve the image's shape before its bytes arrive. They do not replace choosing a suitable file size or checking the rendered layout.
With native loading, keep the real address in src. A custom data-src attribute by itself is just data; another implementation would have to turn it into a usable image source. Inspect what the CMS already publishes before adding another loading mechanism.
Write alternatives for what each image does in context. The alt-text examples guide covers that separate wording decision. Adding loading="lazy" does not change what an image needs to communicate.
Check what the public page actually does
Open the published URL in a fresh browser context and start at the top. Check that the opening image appears without requiring an interaction, then move through the page and inspect the later images.
This read-only console expression lists the current document's images and their loading state:
Array.from(document.images, image => ({
src: image.currentSrc || image.src,
loading: image.loading,
complete: image.complete,
naturalWidth: image.naturalWidth
}))
Find the intended image by its resolved URL. After it loads, check that it renders successfully and has a nonzero natural width. The complete flag can also be true for a broken image, so do not treat that flag alone as a successful load. These fields help diagnose delivery; still check the visible picture.
Record what you observe at the top and after approaching the later image. A nearby lazy image may already have been fetched before it enters view. That can be normal browser behavior, so do not classify it as broken merely because its request starts early.
Use fresh sessions when comparing behavior; a cached image can obscure when a network request would otherwise occur. Check the page at the widths your visitors actually use, including any image that changes position in a responsive layout.
What an isolated browser check can establish
For this article, we used the two HTML examples in an isolated Chromium page with a large gap before the second image. A local illustration stood in for the fictional photographs so the check could focus on loading behavior.
We checked that the opening image loaded at the top, the distant image became available when approached, and both remained available with page JavaScript disabled. Native loading can work without a custom lazy-loading script; browsers only defer this loading when JavaScript is enabled.
That exercise verifies the example's behavior in that controlled browser. It is not a speed benchmark, a CMS audit or a test of Google's renderer. It supplies no percentage improvement or universal distance threshold.
On your own site, investigate an image that remains blank: confirm its address, the returned file, its reserved dimensions and any script or template that controls it. If the entire page is missing or shows an error, use the soft-404 diagnostic guide for the broader response/content question.
Check search visibility separately from browser scrolling
Google Search does not interact with a page as a visitor does. Avoid an implementation that makes required content depend solely on someone clicking a button or firing a scroll-action handler.
Google's lazy-loading guidance recommends checking the rendered HTML, including whether real image URLs appear in the image elements' source attributes. If you have authorized Search Console access, use its rendering evidence for that check; a successful manual scroll is different evidence.
Keep the outcomes distinct in your notes: images appeared in a browser, required URLs were present in rendered output, and any later search observation. A browser delivery check does not establish that an image is indexed or that the page ranks better.
Keep the decision with the page
A useful handoff for each changed image is short: public page URL, image URL, first-screen or later placement, intended loading policy, checked widths and actual result.
Revisit that note when a template moves an image, a gallery grows or a new lead photograph replaces the old one. Keep the first useful visual ready and make sure every deferred image still reaches the reader.
Sources & further reading
Primary references checked Nov 4, 2026. Platform guidance can change.
AI-assisted research and writing. Learn about our editorial standards.
Suggest a correction ↗



