On this page
What this issue is
Largest Contentful Paint (LCP) measures how long the biggest visible element takes to render. On most landing pages that element is the hero image. Browsers decide the download order of images using guesses. Until the page layout is known, an image often gets low or medium priority.
Two hints fix this. fetchpriority="high" on the <img> tag tells the browser to fetch that image first. <link rel="preload" as="image"> in the <head> tells it to start the download before it has even parsed the body. This issue means your LCP image has neither hint.
Why it costs you leads or sales
Visitors from ads judge a landing page in the first moments. If the main image appears late, the page looks empty or half built while the headline and button wait for a hero to fill the space. Slow pages lose people before they see the offer or the form. Google also uses LCP as a page experience signal, so a late hero can affect how the page is assessed.
The effect is usually medium, not dramatic. It tends to matter most on mobile connections and on pages with many scripts, where the hero competes for bandwidth.
- HTML arrivesBrowser starts parsing the page
- CSS and scripts fetchedCompete for bandwidth with the hero
- Hero requested lateNo fetchpriority or preload, low priority
- LCP rendered lateMain image appears after a delay
- Visitor sees offerSome have already left
The hero is requested only after other resources, so the visible page stalls on it.
Example: illustrative numbers for a mobile landing page. Real gains depend on your page and network.
How to check if your site has it
Run PageSpeed Insights
Test your landing page URL on mobile at pagespeed.web.dev. Open the diagnostics and look for the LCP request discovery audit, which flags an LCP image without fetchpriority=high or discovered late.
Find the LCP element in Chrome DevTools
Open DevTools, go to the Performance panel, record a page load and look at the LCP marker. Click it to see which element it is and the phase breakdown, including resource load delay.
Check the Network panel priority
In the Network tab, right-click the column header and enable Priority. Reload. If the hero shows Low or Medium instead of High, it has no effective hint.
Inspect the HTML
View source and search for the hero. Look for fetchpriority="high" on the img tag and a preload link in the head.
How to fix it
Apply the hint to the one image that is your LCP element only. If you mark many images as high priority, none of them stands out and the benefit disappears.
<img
src="/images/hero-800.webp"
srcset="/images/hero-480.webp 480w, /images/hero-800.webp 800w, /images/hero-1200.webp 1200w"
sizes="100vw"
width="1200" height="600"
fetchpriority="high"
alt="Product in use"><link rel="preload" as="image"
href="/images/hero-800.webp"
imagesrcset="/images/hero-480.webp 480w, /images/hero-800.webp 800w, /images/hero-1200.webp 1200w"
imagesizes="100vw"
fetchpriority="high">Use core behavior first
Recent WordPress versions add fetchpriority=high to the likely LCP image automatically for images output by core. Update WordPress and check the page source to see if it applied.
Check builder and theme images
Images set through some page builders, sliders or CSS backgrounds don't get the hint. Look in the builder's image settings for a priority or disable lazy load option for the hero, or ask your theme or optimization plugin vendor how to mark the LCP image.
Add a preload if needed
If the image is not in the HTML as an img tag, add a preload link in the head through your theme's header file or a plugin that adds head code. Use a child theme so updates don't remove it.
Edit the hero in your theme code
Go to Online Store, Themes, Edit code, and open the section that renders the hero (often image-banner.liquid or a similar file; names vary by theme).
Add fetchpriority to the first image
With the image_tag filter, pass fetchpriority: 'high' and loading: 'eager' for the first section only, for example: {{ section.settings.image | image_url: width: 1200 | image_tag: fetchpriority: 'high', loading: 'eager' }}.
Keep other images lazy
Leave lower sections lazy-loaded. Many recent themes already set this on the first banner, so check the page source before editing.
Avoid using GTM for this
Injecting a preload or changing the img tag through a tag runs after the page loads, so it comes too late to help. Put the hint in the page template instead.
Select the hero image
In the Designer, select the image element and open the Element settings panel.
Set loading to eager and priority high
Set Loading to Eager. If your Designer shows a priority or fetchpriority option, set it to High. If not, add a custom attribute named fetchpriority with the value high.
Publish and recheck
Publish, then view source on the live page to confirm the attribute is present.
Add the hint with custom code
The builder may not expose a priority setting for images. Use the page's Custom Code or Header Code area to add a preload link for the hero image URL.
Use a right-sized file
Upload a compressed hero at the size it is displayed so the preloaded file isn't heavy.
Rely on built-in handling
Wix controls image loading itself and has limited access to the img tag, so you can't always add attributes. Keep the hero as a standard image, not a slideshow, and keep the file small.
Test the result
Run PageSpeed Insights after changes to see if the LCP audit still flags the image.
Limited control over attributes
Squarespace sets image loading attributes itself. Use a standard image block for the hero, not a gallery or slideshow, and keep the file small.
Add a preload through code injection
If your plan allows it, add a preload link under Settings, Advanced, Code Injection, Header, using the hero image URL. Check that it matches the URL the page really loads.
Add fetchpriority to the hero img
Add fetchpriority="high" to the LCP image in your template and make sure it does not have loading="lazy".
Preload only when needed
Add the preload link in the head if the image is a CSS background or inserted by JavaScript. Match href, imagesrcset and imagesizes to the real image.
No hint
- Hero requested at Low or Medium priority
- Queued behind scripts and other images
- Page looks empty above the fold
With hint
- Hero requested at High priority
- Download starts early
- Main image appears sooner
How to confirm it's fixed
- View source on the live page and see fetchpriority="high" on the hero img
- Only the LCP image has the hint, not every image
- The hero does not have loading="lazy"
- Network panel shows High priority for the hero
- PageSpeed Insights no longer flags the LCP request discovery audit
- LCP is the same or lower on mobile, and the hero is not downloaded twice
How to prevent it happening again
Hero images get swapped during campaigns, and a new banner or theme update can drop the attribute. Add the hint to your page template so it survives edits, and add a line to your launch checklist: check the LCP image priority on every new landing page. Re-test with PageSpeed Insights after theme, builder or optimization plugin updates.
How FunnelGuard handles this
FunnelGuard does not check this yet. Looking at whether the hero has a priority hint or preload is a possible future check, but it isn't something FunnelGuard reports today.
What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking or chat buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a page change breaks one of those, you get one alert after a second-region re-check, with a screenshot and a likely cause.
To watch for this issue yourself, run PageSpeed Insights on your key landing pages after each design change, and look at the Core Web Vitals report in Google Search Console for field LCP trends. You can also try the free read-only website audit and the Free plan (1 site, 2 journeys, daily checks, no card) to cover the funnel itself.
Frequently asked questions
Questions people ask
What does fetchpriority=high do on an image?
It tells the browser to download that image ahead of other resources of the same type. It is meant for the one image that is your Largest Contentful Paint element, usually the hero. It is a hint, so the browser can still make its own choices.
Should I preload my LCP image or use fetchpriority?
Use fetchpriority="high" on the img tag first, as it is the simplest fix. Add a preload link when the image is not visible in the HTML, for example when it is a CSS background or added by JavaScript. You can use both together.
Why is my hero image loading slowly even though it is compressed?
File size is only one cause. The browser may also discover the image late or give it low priority, so the download starts after scripts and styles. Check the Network panel priority and the LCP phase breakdown in DevTools.
How do I find my LCP image?
Run PageSpeed Insights and open the LCP element shown in the diagnostics, or record a load in the Chrome DevTools Performance panel and click the LCP marker. Both show which element counts as the largest paint.
Can I put fetchpriority=high on every image?
No. If everything is high priority, nothing stands out and you can slow the hero by making it compete with other images. Use it for the LCP image and maybe one or two other critical resources.
Does WordPress add fetchpriority=high automatically?
Recent WordPress versions add it to the likely LCP image output by core. Images from page builders, sliders or CSS backgrounds may not get it, so view the page source to check.
Will preloading the hero image hurt performance?
It can if the preload URL does not match the image the page actually uses, because the file downloads twice. Preloading too many resources also makes them compete for bandwidth. Preload only the LCP image, with matching srcset and sizes.
Related issues
- PRF-007LCP image lazy-loaded (loading=lazy on hero)Fix guide
- PRF-009LCP image injected by JavaScript slider after loadFix guide
- PRF-010Hero background image set in CSS, discovered lateFix guide
- PRF-001LCP over 2.5 s on a funnel stepFix guide
- PRF-002LCP over 4 s on mobile (poor) on the paid landing pageFix guide
- PRF-022Too many preconnect/preload hints competing for bandwidthFix guide