Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Images not loading below the fold: fix broken lazy-load

PRF-383Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Lazy-loading means the browser does not download an image until the visitor is about to see it. It saves data and speeds up the first screen. There are two common ways to do it: the native HTML attribute loading="lazy", and JavaScript libraries that keep the real address in data-src and copy it into src on scroll.

Lazy-load working vs broken

Broken

  • Image tag has only data-src and no real src
  • Script errors out before it can swap the address
  • Visitor scrolls past blank gaps
  • Images appear only after a refresh, or never

Working

  • Image has a valid src or native loading=lazy
  • Image loads just before it scrolls into view
  • Width and height set, so the layout does not jump
  • Same result in every browser and on mobile

Why it costs you leads or sales

Below the fold is where you put proof: product galleries, reviews, before-and-after photos, logos and step-by-step visuals. If those are blank, the page feels unfinished or untrustworthy, and visitors leave before they reach your form or buy button.

It is also easy to miss. The top of the page looks fine, so the owner sees nothing wrong. Search engines and social previews may also miss images that never get a real src.

Where a broken lazy-load hurts the funnel
  1. Landing page opensHero image and headline load
  2. Visitor scrollsLazy-load script should swap images
  3. Proof sectionPhotos and reviews stay blank
  4. Form or checkoutVisitor has already left

The page opens fine, but the proof section fails to load, so the visitor never reaches the call to action.

Visitors who reach the formExample numbers
Visitors who reach the form (example)Images load: 40 %; Images blank: 28 %015314028Images loadImages blank%

Example: illustrative numbers only. A page with blank images below the fold can lose more visitors before the form than one that loads normally.

How to check if your site has it

Check for broken lazy-loading
  1. Scroll the page slowly

    Open the page in a private window and scroll to the bottom at a normal pace. Note any image that stays blank or shows a placeholder.

  2. Try fast scrolling and a refresh mid-page

    Jump to the bottom with the End key, then reload while halfway down. Some scripts fail when the page opens already scrolled.

  3. Inspect a blank image

    Right-click the gap, choose Inspect and look at the img tag. If it has data-src or data-lazy-src but src is empty or a tiny placeholder, the swap did not run.

  4. Read the Console

    In DevTools, open Console and scroll. A red JavaScript error often means a script crashed before it could load images. Also check the Network tab filtered by Img for 404 or blocked requests.

  5. Test on mobile and other browsers

    Use DevTools device mode, then check on a real phone and in Safari. Older browsers and in-app browsers may handle lazy-load differently.

  6. Disable JavaScript to compare

    If images appear with JavaScript off but not on, a script is interfering. If they stay blank either way, the markup is wrong.

Common causes and what you will see
CauseSymptomWhere to look
JavaScript error on the pageAll lazy images blankConsole tab
Two lazy-load tools activeSome images blank, others finePlugin list, theme settings
Image has data-src but no scriptPermanent placeholderInspect the img tag
Wrong or removed image URLBroken image icon or 404Network tab, Img filter
Image hidden in a tab, slider or popupBlank until first openedInspect the container
Optimisation or caching plugin rewrote markupWorks after clearing cachePlugin delay or defer JS settings

How to fix it

Start with the simplest fix: use the browser's native lazy-loading and remove extra layers. Then work through the platform-specific steps below.

Native lazy-loading (no JavaScript needed)html
<img src="/images/team.jpg" alt="Our team at work" width="800" height="533" loading="lazy">
Fix by platform
  1. Find the extra lazy-load layer

    WordPress adds loading="lazy" by default. If you also use a caching or image plugin (for example an optimisation plugin with a Lazy Load option), turn off all but one.

  2. Exclude problem images

    Most optimisation plugins let you exclude images by class or URL from lazy-loading. Add the affected images, then clear the cache.

  3. Check delay and defer JavaScript settings

    If a plugin delays JavaScript until user interaction, lazy-load scripts may not run in time. Exclude the lazy-load script or turn the delay option off to test.

  4. Test with a default theme

    On a staging copy, deactivate plugins one by one or switch themes to find the conflict.

Shopify: native lazy-loading for a below-fold imageliquid
{{ section.settings.image | image_url: width: 1200 | image_tag: loading: 'lazy', widths: '400, 800, 1200' }}
Fallback so images still show without JavaScripthtml
<img class="lazy" data-src="/images/review.jpg" alt="Customer review" width="600" height="400">
<noscript><img src="/images/review.jpg" alt="Customer review" width="600" height="400"></noscript>
Minimal IntersectionObserver lazy-loadjavascript
document.addEventListener('DOMContentLoaded', function () {
  var images = document.querySelectorAll('img[data-src]');
  if (!('IntersectionObserver' in window)) {
    images.forEach(function (img) { img.src = img.dataset.src; });
    return;
  }
  var observer = new IntersectionObserver(function (entries, obs) {
    entries.forEach(function (entry) {
      if (entry.isIntersecting) {
        entry.target.src = entry.target.dataset.src;
        obs.unobserve(entry.target);
      }
    });
  }, { rootMargin: '200px' });
  images.forEach(function (img) { observer.observe(img); });
});
How a script error leaves images blank

A JavaScript error stops the lazy-load script, so the real image address is never set.

How to confirm it's fixed

Confirm the fix
  • Scroll the full page slowly: every image appears before or as it enters view
  • Jump to the bottom with the End key: images still load
  • Reload while halfway down the page: images still load
  • Console shows no red errors related to images or scripts
  • Network tab shows no 404 on image files
  • Checked on a real phone and in Safari
  • Hero image and logo are not lazy-loaded
  • Cached versions cleared (plugin cache, CDN, browser)

How to prevent it happening again

Prevention habits
  • Use one lazy-load method only: native loading=lazy is the safest
  • Always set width and height on images
  • Test key pages on a staging copy before updating themes or plugins
  • After each update, scroll your top landing pages on desktop and mobile
  • Keep a noscript fallback if you use a JavaScript lazy-loader
  • Review new apps or tags that touch images or page speed

How FunnelGuard handles this

FunnelGuard does not check for broken lazy-loaded images yet. It is a possible future check, so you cannot rely on FunnelGuard to tell you when images below the fold stay blank.

What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and check each step, the tracking hits and whether test leads arrive. A failure is re-checked from a second region before one alert goes out with a screenshot and a likely cause. That helps with page-level breakage that stops a journey, but it is not a image-loading check.

Questions people ask

Why are my images not loading below the fold?

Usually the lazy-load script failed or never ran. Common causes are a JavaScript error on the page, two lazy-load tools conflicting, or an image with data-src but no working script to turn it into src. Open DevTools, check the Console for errors and inspect the blank image's tag.

Why do my images only load after I refresh the page?

The lazy-load script is probably running too late or being delayed by a caching or optimisation plugin. Settings like delay JavaScript until interaction can stop images loading on first view. Exclude the lazy-load script from delay or defer, then clear the cache.

How do I fix lazy loading not working on WordPress?

Make sure only one lazy-load feature is active, since WordPress adds loading="lazy" by default. Turn off duplicate options in caching or image plugins, exclude the broken images, clear the cache and retest. If it persists, deactivate plugins one by one on a staging copy.

Does loading="lazy" work in all browsers?

It works in all current major browsers. Very old browsers ignore it and simply load the image normally, so images still appear. That is why native lazy-loading is safer than a custom JavaScript script.

Should I lazy-load every image on my page?

No. Do not lazy-load the hero image, logo or anything visible on first load. Lazy-load images further down the page, and always set width and height so the layout does not jump.

How can I tell if an image is using data-src instead of src?

Right-click the blank area, choose Inspect and read the img tag. If you see data-src or data-lazy-src and src is empty or a tiny placeholder, a script is meant to swap it. If the swap does not happen, the script is failing.

Can broken lazy-loading hurt my SEO?

It can. If images never get a real src, search engines may not index them and your page may look incomplete. Native loading="lazy" is well supported and avoids most of these problems.

Does FunnelGuard detect images that fail to lazy-load?

Not yet. It is a possible future check. FunnelGuard currently runs your customer journeys and checks steps, tracking hits and test leads, so for lazy-load issues use a manual scroll test and browser DevTools.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.