All guides

Why Lazy-Loading Your Hero Image Destroys Mobile LCP Scores—and How to Fix It

Photography sites live or die on image performance, and the most common mistake is also the easiest to fix. Many site builders lazy-load every image by default, including the hero image at the top of the page. On mobile, that delays the largest visible element and tanks Largest Contentful Paint, a Core Web Vitals metric that affects both rankings and how fast the page feels. The fix is a small markup change plus a disciplined approach to which images load first.

Updated October 26, 2026

01

Understand what LCP is measuring

Largest Contentful Paint measures when the largest image or text block in the viewport finishes rendering. On a photography homepage, that is almost always the hero image. If the hero is lazy-loaded, the browser waits until layout and JavaScript decide to request it, adding hundreds of milliseconds to seconds on mobile connections. Search engines treat slow LCP as a poor user experience and may rank the page lower.

The target is 2.5 seconds or faster at the 75th percentile of real users. A hero image that loads late can push a page well beyond that threshold even when the file itself is reasonably sized. The problem is usually priority, not just file weight, which is why compression alone does not fix it.

  • Practical recommendations
  • LCP tracks when the largest visible element finishes rendering.
  • Lazy-loading the hero delays the request and inflates LCP.
  • Aim for 2.5 seconds or faster at the 75th percentile of real users.

02

Mark the hero as high priority

Add fetchpriority="high" to the hero image so the browser discovers and requests it early. Do not add loading="lazy" to above-the-fold images; use eager loading or omit the attribute so the default applies. Preload the hero image in the document head when your platform supports it, especially if the image is referenced from CSS or injected by JavaScript.

Reserve space for the image with explicit width and height or an aspect-ratio container to prevent layout shift. Serve a modern format such as AVIF or WebP and use responsive srcset sizes so mobile devices do not download desktop-sized files. Each of these steps compounds: priority gets the request started, and compression keeps it small.

  • Practical recommendations
  • Add fetchpriority="high" and avoid loading="lazy" on the hero image.
  • Preload the hero when it is set via CSS or JavaScript.
  • Set explicit dimensions and serve AVIF or WebP with responsive srcset.

03

Apply lazy-loading only below the fold

Lazy-loading is still valuable for gallery images, testimonials, and footer graphics that are not visible on first paint. The rule is simple: eager for the first viewport, lazy for everything after. Audit your templates because many builders apply lazy-loading globally, which silently breaks this rule on every page.

After making changes, measure with PageSpeed Insights and Chrome DevTools performance panel on a throttled mobile connection. Check that the hero is the LCP element, that its request starts early, and that layout shift is minimal. Re-test after theme or plugin updates, since defaults can revert and undo the fix.

  • Practical recommendations
  • Keep lazy-loading for below-the-fold galleries and secondary images.
  • Audit templates for global lazy-loading that affects the hero.
  • Re-measure LCP on throttled mobile after every theme or plugin update.

Questions couples ask

Frequently asked questions

Should all images on a photography site be lazy-loaded?

No. The hero and other above-the-fold images should load eagerly with high priority. Lazy-load only images below the fold, such as gallery items and secondary content.

What does fetchpriority="high" actually do?

It tells the browser this image is important so it is requested earlier in the loading sequence. Combined with eager loading and a preload hint, it can significantly improve LCP.

Is compressing the hero image enough to fix LCP?

Compression helps, but if the hero is lazy-loaded the request still starts late. Priority and format both matter, so fix loading behavior first, then optimize file size.

Want a written second opinion on your current site?

Use the $50 Website Rebuild to improve the design, performance, conversion path, and SEO foundation of your current site.

Start the Website Rebuild