Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Hero image is a 4 MB PNG: how to find and fix it

PRF-003High impactPartlyBy FunnelGuardPublished Updated
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.

What a heavy hero does to the visit
  1. Ad clickVisitor lands on the page
  2. 4 MB PNG downloadsSlow connection, long wait
  3. Offer visibleHero and button appear late
  4. Form or checkoutVisitor has already left

The big download blocks the first meaningful view, so later steps never happen for visitors who leave.

Time to show the hero by file sizeExample numbers
Time to show the hero by file size (example)4 MB PNG: 6.4 seconds; 600 KB JPEG: 1 seconds; 120 KB WebP: 0.3 seconds0256.410.34 MB PNG600 KB JPEG120 KB WebPseconds

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

Find the file and its size
  1. Open the page in Chrome

    Load your landing page in a private window so extensions and cache do not interfere.

  2. Open DevTools Network tab

    Press F12 (Cmd+Option+I on Mac), choose Network, tick Disable cache, then reload.

  3. 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.

  4. 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.

  5. 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

Replace the 4 MB PNG with a light image
  1. Get the original file

    Use the source from your designer or stock library, not the already compressed web copy.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. Do not lazy-load the hero

    The hero should load immediately. Lazy loading it delays LCP further.

Where to do it on your platform
  1. 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.

  2. 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.

  3. 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.

Hero with modern formats and a fallbackhtml
<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>
Hero image before and after

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

Verification checklist
  • 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

Habits that keep images light
  • 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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: page weight flags it; offending file not named.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.