On this page
What this issue is
The hero image is the large picture at the top of a landing page. On most pages it is also the LCP element: the biggest thing visible when the page first loads. Largest Contentful Paint (LCP) measures how long that element takes to appear.
PNG is a lossless format. It keeps every pixel exactly, which suits logos, icons and screenshots with flat colours. For photos or gradients it produces huge files. A 4 MB PNG is often a design export that was uploaded without being optimised.
Why it costs you leads or sales
A 4 MB file must be fully downloaded before it can be painted. On a mobile connection that can take several seconds, during which the visitor sees a blank or half-built page. Your headline may be visible, but the offer and the call to action often sit beside or on top of the image.
Paid traffic suffers most. You pay for the click, and the visitor leaves before the page finishes. Mobile users on weaker networks also use more data than they expect. Slow pages can also hurt your Core Web Vitals scores, which Google uses as a ranking signal and which feed into landing page experience.
- Ad clickVisitor lands on the page
- 4 MB PNG downloadsSlow connection, long wait
- Offer visibleHero and button appear late
- Form or checkoutVisitor has already left
The big download blocks the first meaningful view, so later steps never happen for visitors who leave.
Example: illustrative download times on a mid-range mobile connection. Real times depend on the network and device.
How to check if your site has it
Open the page in Chrome
Load your landing page in a private window so extensions and cache do not interfere.
Open DevTools Network tab
Press F12 (Cmd+Option+I on Mac), choose Network, tick Disable cache, then reload.
Filter by Img and sort by Size
The hero is usually at the top. Check the Type column says png and the Size is in megabytes.
Confirm it is the LCP element
In the Performance tab, record a page load and look for the LCP marker. Or run PageSpeed Insights and open the diagnostic named Largest Contentful Paint element, which shows the exact image.
Check the Lighthouse audits
Look for Improve image delivery, Efficiently encode images and Serve images in next-gen formats. They list the files and the possible savings.
How to fix it
Get the original file
Use the source from your designer or stock library, not the already compressed web copy.
Resize it
Export at the largest size it is actually displayed. For a full-width hero, 1600 to 2000 px wide is usually enough. Do not upload a 4000 px original.
Choose a format
Use WebP or AVIF for photos. Use JPEG as a fallback. Keep PNG only for flat graphics or when you need transparency, and consider SVG for logos and icons.
Compress it
Use a tool such as Squoosh (squoosh.app), or an export setting at quality 70 to 80. Compare it with the original at full size to check it still looks sharp.
Upload and swap it in
Replace the image on the page, keep the alt text, and set explicit width and height so the layout does not jump.
Do not lazy-load the hero
The hero should load immediately. Lazy loading it delays LCP further.
Replace the file
In Media Library, upload an optimised copy and select it in the page or builder block. Deleting the old file does not update pages that still use it.
Use an image optimiser
A plugin such as ShortPixel, Imagify or EWWW can convert to WebP/AVIF and compress. Run it on existing images, then regenerate thumbnails.
Check builder settings
If the hero is a section background in Elementor or Divi, replace the image in the section's background settings, not only in the Media Library.
Upload a smaller image
In Online Store > Themes > Customize, open the hero or slideshow section and upload an optimised image. Shopify's CDN serves WebP automatically to supported browsers, but it does not shrink a bloated source file for you.
Check theme output
Make sure the theme uses the image_url filter with a width and sets sizes, so phones get a smaller version.
Not the place for this fix
GTM does not control image files. Fix the image in your CMS or code, then check that no GTM tag injects or swaps the hero image afterwards.
Replace the asset
In the Assets panel, upload an optimised image and set it on the hero element. Webflow can convert uploaded images to WebP; check the image settings and make sure the source is already sensibly sized.
Set loading to Eager
Select the image, open Element settings and set Loading to Eager for the hero.
Re-upload in the builder
Open the funnel or website step, select the hero image or the section background, and replace it with an optimised WebP or JPEG from the Media Library.
Delete the heavy copy
Remove the old PNG from the step so it is no longer referenced.
Replace the image
In the Wix Editor, click the hero, choose Change Image and upload an optimised file. Wix serves modern formats automatically, but a huge source still costs you.
Prefer image over video or strip backgrounds only where needed
Check the Strip or Box background settings if the hero is a background, and replace the image there.
Swap the image
Edit the section, open the background or image settings and replace it with a compressed JPEG or WebP under about 500 KB. Squarespace recommends keeping uploads reasonably small.
Use picture with modern formats
Serve AVIF and WebP with a JPEG fallback, as in the snippet below.
Automate in the build
Use a build step or image CDN (for example sharp, Squoosh CLI or your CDN's resize option) so large originals never ship to production.
<picture>
<source type="image/avif" srcset="/img/hero-800.avif 800w, /img/hero-1600.avif 1600w" sizes="100vw">
<source type="image/webp" srcset="/img/hero-800.webp 800w, /img/hero-1600.webp 1600w" sizes="100vw">
<img src="/img/hero-1600.jpg" width="1600" height="900" alt="Describe the hero" fetchpriority="high">
</picture>Before
- 4 MB PNG, 4000 px wide
- Long blank wait on mobile
- LCP often slow or poor
After
- Under 200 KB WebP or AVIF, 1600 px wide
- Hero appears quickly
- JPEG fallback for old browsers
How to confirm it's fixed
- In DevTools Network, the hero file is now WebP, AVIF or JPEG and far smaller than before.
- PageSpeed Insights no longer lists the image under Efficiently encode images or Serve images in next-gen formats.
- The LCP value on mobile has dropped compared with your earlier test.
- The hero looks sharp on a phone and a large desktop screen.
- There is no layout shift when the image loads.
- The call to action and form are visible and work as before.
How to prevent it happening again
- Set an image budget for heroes, for example 200 KB, and tell designers and editors.
- Export for the web, never upload raw design files or full-size stock originals.
- Use an optimisation plugin or image CDN so uploads are compressed automatically.
- Test every new landing page in PageSpeed Insights on mobile before sending ad traffic to it.
- Re-test after theme, builder or banner changes, since a replaced hero can reintroduce a heavy file.
How FunnelGuard handles this
FunnelGuard detects this only partly. Its checks include page weight, so a page that has become very heavy because of a huge image can be flagged. What it does not do is name the offending file. You will see that the page is too heavy, but not that the culprit is hero.png.
To cover the rest by hand, open the flagged page in Chrome DevTools, go to Network, filter by Img and sort by Size. Then run PageSpeed Insights and read the Largest Contentful Paint element diagnostic to confirm which image is the hero. Fix that file using the steps above.
FunnelGuard runs your real customer journeys on a schedule, so a page that gets heavy again after an edit can be caught on the next run. A free plan (1 site, 2 journeys, daily checks, no card) and a free read-only website audit are available if you want to try it.
Questions people ask
Why is my hero image so slow to load?
The most common cause is a file that is too big, often an unoptimised PNG of several megabytes. The browser must download it before showing the main content. Resize it, compress it and use WebP or AVIF to cut the download.
How big should a hero image be?
Aim for well under 200 KB on mobile, and no wider than it is displayed, often 1600 to 2000 px for a full-width hero. This is a practical target rather than a fixed rule. Simple graphics can be smaller and detailed photos slightly larger.
Is PNG or JPEG better for a hero image?
For photos, JPEG is usually much smaller than PNG, and WebP or AVIF are smaller still. PNG is better for flat graphics, logos and images that need transparency. A hero photo saved as PNG is a common cause of multi-megabyte files.
How do I find which image is my LCP element?
Run PageSpeed Insights and open the diagnostic called Largest Contentful Paint element, which shows the exact image. You can also record a page load in the DevTools Performance tab and look at the LCP marker.
How do I convert a PNG hero image to WebP?
Open the image in a tool such as Squoosh, choose WebP, set quality around 75 and compare the result with the original. Download it and upload it to your site. WordPress optimisation plugins can also convert existing images automatically.
Does compressing the hero image reduce quality?
Some loss is normal with WebP, AVIF and JPEG, but at moderate quality settings it is rarely visible. Compare the result with the original at full size before publishing. If you see artefacts, raise the quality a little.
Can FunnelGuard tell me which image is too big?
Not by name. FunnelGuard checks page weight, so it can flag a page that is too heavy, but it does not identify the specific file. Use Chrome DevTools or PageSpeed Insights to find the image.
Should I lazy-load my hero image?
No. The hero is usually the LCP element and should load as soon as possible. Lazy loading it delays the main content. Use lazy loading for images further down the page instead.
Related issues
- 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-004Hero image served at 3000 px wide to a 400 px phone screenFix guide
- PRF-006Images not served in WebP/AVIFFix guide
- PRF-007LCP image lazy-loaded (loading=lazy on hero)Fix guide
- PRF-008LCP image not preloaded / no fetchpriority=highFix guide