On this page
What this issue is
Largest Contentful Paint (LCP) is the time until the biggest visible element, often a hero image, is drawn on screen. Lazy loading tells the browser to fetch an image only when it is about to scroll into view. That is great for images far down the page. It is harmful for the hero image, which is in view the moment the page opens.
Why it costs you leads or sales
A lazy-loaded hero is discovered late. The browser has to build the layout first, decide the image is visible, and only then start the download. Your headline and call-to-action may appear while the main visual is still missing, and the LCP time rises. Google uses Core Web Vitals as part of its page experience signals, and slow pages tend to lose visitors before they see your offer.
- HTML arrivesPage structure is loaded
- Lazy-load logic runsBrowser or script decides if the image is visible
- Hero image requestedDownload starts late
- LCP recordedSlow time, weaker page experience
The image request starts late because the browser waits for layout and scripts.
Example: illustrative numbers for one page, not a measured result.
How to check if your site has it
Run PageSpeed Insights
Test your key landing page on mobile at pagespeed.web.dev. Look at the diagnostic named 'Largest Contentful Paint element' and the audit 'LCP image was lazily loaded' if it appears.
Identify the LCP element in Chrome
Open DevTools, go to the Performance tab, record a page load, and click the LCP marker. It shows which element was the LCP.
Inspect that element's HTML
Right-click the hero, choose Inspect, and check for loading="lazy", a data-src attribute, or a class such as lazyload.
Check the page source
View source and search for the hero file name. If the real URL only appears in data-src or is missing from the raw HTML, it relies on JavaScript.
How to fix it
The goal is the same everywhere: the hero image loads right away, with high priority, and everything below the fold stays lazy. The correct markup looks like this.
<img src="/images/hero.jpg" alt="Describe the hero" width="1200" height="600" fetchpriority="high" decoding="async">
<!-- Images below the fold can stay lazy -->
<img src="/images/feature.jpg" alt="Feature" width="600" height="400" loading="lazy">Check core behaviour
Recent WordPress versions skip lazy loading on the first content image in many cases, but themes and builders can override this. Update WordPress and your theme first.
Exclude the hero in your optimisation plugin
In your caching or image plugin's lazy-load settings, look for an option to exclude images by number, class or URL, or to skip images above the fold. Names vary by plugin. Add the hero.
Filter it in code if needed
Use the wp_img_tag_add_loading_attr or wp_get_attachment_image_attributes filter to set loading to eager and add fetchpriority high for the hero image only.
Edit the theme section
Go to Online Store > Themes > Edit code and open the hero or slideshow section (for example a file in sections/).
Change the image tag
Find the image_tag filter or img tag used for the first image. Set loading: 'eager' and fetchpriority: 'high' for it, and leave lazy on later images. Many current themes already do this for the first section, so check before editing.
Select the hero image
In the Designer, click the image, open Element Settings (gear icon) and find the Loading setting.
Set it to Eager
Change Loading from Lazy to Eager. Keep lazy on images lower down.
Use a standard image element
Wix controls image loading itself and offers limited settings. Use a regular image rather than a heavy animated strip or background at the top, and keep the file size small.
Test the result
Re-run PageSpeed Insights. If the hero is still flagged, contact Wix support, as you cannot edit the loading attribute directly.
Check the image block settings
Squarespace applies its own loading logic and offers no per-image loading toggle in most templates. Place the hero as a normal image block, not a slow gallery or video.
Use code injection only if needed
If your template supports it, a small script that sets loading to eager on the first image can work, but test it carefully.
Remove loading=lazy from the hero
Delete the attribute or set loading="eager" on the LCP image.
Add fetchpriority high
Add fetchpriority="high" and make sure the real src is in the HTML, not injected by JavaScript.
Preload if it is a CSS background
If the hero must be a CSS background, add <link rel="preload" as="image" href="/images/hero.jpg" fetchpriority="high"> in the head.
How to confirm it's fixed
- The hero img has no loading="lazy" and no lazyload class
- The real image URL is in src in the raw HTML
- fetchpriority="high" is present on the hero
- PageSpeed Insights no longer shows 'LCP image was lazily loaded'
- In DevTools Network, the hero request starts early in the waterfall
- LCP on mobile is lower than before
How to prevent it happening again
Lazy loading usually comes back after a theme update, a new optimisation plugin or a redesign of the top section. Treat the hero as a special case in your template, not something set per page.
- Mark the hero image as eager in the theme or template, not per page
- Re-test your main landing pages after every theme, plugin or builder update
- Review lazy-load plugin settings when you install or change one
- Keep hero images compressed and correctly sized
- Track LCP over time so a rise gets noticed
How FunnelGuard handles this
FunnelGuard detects this issue only partly. When its robot visitor runs your journeys, it measures LCP, so you can see when a page becomes slow. What it does not do is name the cause: it will not tell you that the hero image has loading="lazy" or that a plugin added it.
To cover the rest by hand, use the checks above. When FunnelGuard shows a high or rising LCP on a landing page, run PageSpeed Insights on that page, look for the 'LCP image was lazily loaded' audit, and inspect the hero's HTML. You can start with the free plan (1 site, 2 journeys, daily checks, no card), and the free read-only website audit is also available.
Questions people ask
Should I lazy load my hero image?
No. The hero image is usually the LCP element and is visible as soon as the page loads, so it should load right away. Lazy load only images that sit below the fold.
Why is my LCP image lazy loaded?
Most often a theme, page builder or optimisation plugin adds loading="lazy" to every image, including the first one. Some lazy-load scripts also hide the real src in data-src until JavaScript runs.
How do I find out if my LCP image has loading=lazy?
Run PageSpeed Insights and look for the 'LCP image was lazily loaded' audit, or inspect the hero image in Chrome DevTools and check for loading="lazy" or a data-src attribute.
What is fetchpriority high and should I use it on the hero?
fetchpriority="high" is an attribute that tells the browser to download an image earlier than others. It is a good fit for the single LCP hero image. Use it on one image only, because it loses meaning if you add it everywhere.
How do I stop WordPress lazy loading my hero image?
Update WordPress and your theme, then exclude the hero in your caching or image plugin's lazy-load settings. If that is not possible, use the wp_img_tag_add_loading_attr filter to set loading to eager for that image.
Does lazy loading the hero image hurt SEO?
It can. It slows LCP, one of the Core Web Vitals that Google uses in its page experience signals, and slow pages tend to lose visitors. Content relevance still matters more, but a fast hero helps.
Can FunnelGuard tell me if my hero image is lazy loaded?
Only partly. FunnelGuard measures LCP on your journeys, so it shows when a page is slow, but it does not name the cause. You need to inspect the hero's HTML or use PageSpeed Insights to confirm lazy loading.