The short fix
- Find the LCP element in your test report: usually the hero banner, a slider image or the main product photo.
- Remove lazy loading from it (
loading="lazy",data-srcor a plugin’s lazy load) and addfetchpriority="high". - If it is a CSS background image, turn it into an
<img>or preload it in the<head>withfetchpriority="high". - Serve it at phone width as WebP or AVIF.
- Re-test and check that all three items in the insight’s checklist pass.
What PageSpeed Insights is telling you
LCP request discovery is a Lighthouse 13 insight, listed under Insights in PageSpeed Insights. It replaced two older audits: Preload Largest Contentful Paint image and Largest Contentful Paint image was lazily loaded.
It checks the image behind your Largest Contentful Paint (LCP) element and shows a checklist of three items:
- fetchpriority=high should be applied: the image, or its preload, is not marked as high priority;
- Request is discoverable in initial document: the image address must be in the HTML (an
<img>tag or a preload), not found later in a CSS file or by a script; - LCP resources shouldn’t use loading=lazy.
If your LCP element is text, there is nothing to check. In a FlashMax report this problem is the card The main image starts loading late; it clears when the main image is set up to load early: not lazy-loaded and marked high priority.
Why a late start slows the page
LCP is 25% of the Lighthouse score and one of Google’s three Core Web Vitals: good at 2.5 s or less, poor above 4 s. LCP time has four parts: time to first byte, resource load delay (from the first byte of HTML until the image request starts), resource load duration and element render delay. This insight is about the second part.
Browsers have a fast helper, the preload scanner, that reads the raw HTML ahead and starts fetching images it finds in src and srcset. It does not read CSS. So:
- a hero set with CSS
background-imageis requested only after the stylesheet has downloaded and been applied to the element; - an image hidden in
data-srcfor a JavaScript lazy loader waits for that script to run; loading="lazy"makes the browser wait for layout to decide whether the image is on screen.
Priority matters too. Images start at low priority and are raised to high only at layout time if they are in the viewport, so stylesheets, scripts and fonts go first. With fetchpriority="high" the image competes from the start: in a Google Flights test, LCP improved from 2.6 s to 1.9 s.
How common it is
In our study of 40,951 WooCommerce stores, 65.3% (26,722 stores) got this card. Their median phone score was 51, against 55 without it. That is a correlation, not proof: stores with this problem usually have others too.
What the main content (the LCP element) was in the phone test:
- a CSS background image: 41.0% of stores (16,800), median phone score 51;
- an
<img>: 36.1% (14,765), median 54; - text: 17.1% (7,021), median 54;
- a video: 2.2% (907), median 48.
Of the sites whose main content was an <img>, 14.5% lazy-loaded it. And across all sites where Lighthouse could split LCP into its parts, the waiting before the download (resource load delay) was the largest part on 21,702 sites, more than twice as many as the next one, element render delay (9,045).
How to find the LCP image and what holds it back
- FlashMax: in the free speed test (about a minute) the card names the main element and its image file.
- PageSpeed Insights: open LCP request discovery to see the element and the three-item checklist. The LCP breakdown insight shows how long each of the four parts took.
- Chrome DevTools: in the Network panel, show the Priority column (right-click the table header) and look at Initiator for the hero image. A
.cssinitiator means a background image; a.jsinitiator means a script inserts it. In the Elements panel, check the hero markup forloading="lazy",data-src,data-lazy-srcordata-bg.
Check the phone result first: its LCP image often differs from the desktop one.
How to fix it on WordPress and WooCommerce
Know what WordPress already does
Since 6.3, WordPress adds fetchpriority="high" to the image it expects to be the LCP element and does not lazy-load the first three images. This works only for <img> tags WordPress outputs itself, and the high priority goes only to an image of at least 50,000 pixels in area (300 × 200 qualifies). It cannot see a hero that a page builder or slider sets as a CSS background, and plugins that replace core lazy loading work outside it.
Best fix: make the hero a real image
Where your builder allows it, build the hero with an image element (an Image widget or block) instead of a section background. A real <img> is found by the preload scanner, gets srcset, and WordPress or your speed plugin can mark it high priority. On product pages the LCP is usually the first gallery image: make sure your gallery or zoom plugin doesn’t lazy-load it.
Otherwise, preload the background image
- WP Rocket: Optimize critical images is automatic and has no setting. It detects the LCP image, preloads it, adds
fetchpriority="high"and excludes it from LazyLoad; LCP background images get a preload tag too. It applies on the next cache build after a visit, not instantly. If you enabled LazyLoad for CSS background images (Media tab), also add the hero file name to Excluded images or iframes. - Perfmatters: under Preloading, Preload Critical Images preloads the first images on the page (you choose 0–5; Perfmatters suggests 2–3) and excludes them from lazy loading. For a background hero, add a manual image preload for that page with Priority set to high.
- LiteSpeed Cache: Viewport Images (VPI tab, a QUIC.cloud service) keeps above-the-fold images out of Lazy Load Images; or list the hero file under Lazy Load Image Excludes.
- Elementor (Performance tab): Optimized Image Loading adds
fetchpriority="high"to LCP images and lazy-loads images below the fold. Lazy Load Background Images lazy-loads every background image except the first one, so if your header has a background image, the hero’s may end up lazy-loaded. - Image Prioritizer (free, by the WordPress Performance Team, still in beta; needs Optimization Detective and WordPress 6.9+) learns from real visits which image is the LCP and adds
fetchpriority="high"or a preload, CSS backgrounds included (for a background set in a stylesheet, only when the image is on an allowed domain).
Without a plugin, the wp_preload_resources filter prints a preload in the <head>; the fetchpriority key works since WordPress 6.6. For example, in a small custom plugin:
add_filter( 'wp_preload_resources', function ( $resources ) {
if ( is_front_page() ) {
$resources[] = array(
'href' => 'https://example.com/wp-content/uploads/hero-1200.webp',
'as' => 'image',
'type' => 'image/webp',
'fetchpriority' => 'high',
);
}
return $resources;
} );Preload the exact file the page displays. A preload of a different size or format is a wasted download.
Sliders and serving the right size
If your slider builds slides with JavaScript or lazy-loads them, its first slide is found late. Make the first slide a normal image with fetchpriority="high", give the other slides fetchpriority="low", or replace the slider with one static banner. Then serve a phone-sized file (see the image delivery guide): preloading a 2 MB desktop banner only makes the phone download 2 MB earlier.
Shopify and hand-built sites
Shopify: image_tag sets loading="lazy" automatically for images in sections further down the page, and Shopify advises against lazy loading images above the fold. In your hero section’s Liquid, set it explicitly:
{{ section.settings.image
| image_url: width: 1500
| image_tag: loading: 'eager', fetchpriority: 'high',
widths: '600, 900, 1200, 1500', sizes: '100vw' }}Hand-built sites: the strongest pattern is a real image in the HTML, covering the hero like a background would:
<section class="hero">
<img src="/img/hero-800.webp"
srcset="/img/hero-800.webp 800w, /img/hero-1600.webp 1600w"
sizes="100vw" width="1600" height="900"
alt="" fetchpriority="high">
<div class="hero-text">…</div>
</section>.hero { position: relative; min-height: 60vh; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { position: relative; }If the image must stay in CSS, preload it in the <head> with fetchpriority="high". If phones and desktops get different images, give each preload a media attribute that matches your CSS breakpoints, so each device downloads only its own file:
<link rel="stylesheet" href="/css/site.css">
<link rel="preload" as="image" href="/img/hero-phone.webp" type="image/webp"
media="(max-width: 767px)" fetchpriority="high">
<link rel="preload" as="image" href="/img/hero-desktop.webp" type="image/webp"
media="(min-width: 768px)" fetchpriority="high">
Mistakes to avoid
- High priority on many images. Chrome’s guidance is one or two critical images at most; more just dilutes the boost.
fetchpriority="high"together withloading="lazy". They contradict each other; the lazy attribute still delays the image.- A preload without
fetchpriority="high". Preloaded images still start at low priority; put the attribute on the preload and on the image. - Preloading the wrong file. If the preloaded URL differs from the one the page uses (another size, format or crop), the browser downloads both.
- Preloading everything. When everything is a priority, nothing is.
How to check the fix worked
Clear the page cache and CDN cache, then re-test the same page on phone settings. In PageSpeed Insights, all three items in LCP request discovery should pass, and in LCP breakdown the load delay should shrink. In the DevTools Network panel, the hero request should start right after the HTML, with priority High.
Lab results vary, so run the test two or three times. Field data in Search Console’s Core Web Vitals report and the Chrome UX Report covers the last 28 days, so it needs about four weeks to show the full change.
Questions people ask
Should I preload the LCP image or just add fetchpriority?
If the image is an <img> in the HTML, fetchpriority="high" on the tag is enough: the preload scanner already finds it. A preload is for images the scanner can’t see, such as CSS backgrounds or images added by scripts. If you preload, put fetchpriority="high" on the preload too.
Why is my LCP image still flagged after I added fetchpriority?
Usually a lazy-load plugin has moved the address into data-src, the attribute went on a different image or size than the one shown, the page cache still serves the old HTML, or the phone layout uses a different LCP image than the desktop one.
My LCP element is text. What should I fix instead?
This insight doesn’t apply then. Text waits for CSS and fonts, so look at render-blocking requests and font display.
Sources
- LCP request discovery (Chrome for Developers)
- Optimize Largest Contentful Paint (web.dev)
- Optimize resource loading with the Fetch Priority API (web.dev)
- Don't fight the browser preload scanner (web.dev)
- Image performance enhancements in WordPress 6.3 (Make WordPress Core)
- Optimize critical images (WP Rocket docs)
- Preload (Perfmatters docs)
- Improve performance features (Elementor Help Center)
Rather have it done?
The FlashMax team fixes the issues in your report, on a copy first, and shows the before-and-after.
See the speed optimization service