Performance6 min read·Updated

Fix Largest Contentful Paint When LCP Is an Image

When Lighthouse says LCP is an image, minifying JS will not save you. Convert that file to WebP, size it to the CSS width, give it width/height, preload it, and never put `loading=lazy` on it.

Identify the LCP node

In Lighthouse or Performance panel, click the LCP element. If it is <img> or a CSS background, you have an image problem. Note the downloaded file size and the displayed pixels. Those two numbers drive the fix.

Why it matters

  • LCP is a Core Web Vital and a ranking input.
  • Heroes are often 1–3 MB PNGs displayed at 400 px on mobile.
  • Lazy-loading the hero delays LCP on purpose — accidentally.

How to do it

  1. Convert the LCP image to WebP at 1–1.5× the mobile and desktop rendered widths (or one 1920 px file if you must keep a single asset).
  2. Replace the source. Remove lazy load from that image. Add fetchpriority="high" if it is the hero.
  3. Preload the exact URL the browser will use (the WebP, not a 4000 px original).
  4. Re-run Lighthouse on mobile. Repeat for the next template.

Settings that work

Mobile LCP width is often 360–430 CSS px. A 800–1200 px WebP at 75–80% is usually enough. Desktop full-bleed: 1920 / 75%.

Common mistakes

  • Preloading a JPEG while the page requests WebP.
  • Using a CSS background with a huge PNG and no preload.
  • Carousel libraries that load slide 1 late.
Convert a batch in your browser. Nothing is uploaded.

Put it into practice

Convert your images to WebP right now, free and privately in your browser.

Open the converter

Frequently asked questions

Good is under 2.5 s on mobile. Image weight is the lever you own without a new host.

It fixes weight. You still need a fast TTFB and no blocking fonts/JS before the image.

Keep reading

Workflow6 min read

Hero images to WebP

The hero is usually LCP. Convert it to WebP at the real breakpoint width and preload the file you actually use.

Read more
Performance6 min read

Next-gen formats audit

The Lighthouse next-gen formats audit wants WebP or AVIF. Convert the listed JPEGs and PNGs in your browser.

Read more
SEO6 min read

WebP and Core Web Vitals

WebP mainly helps LCP. It can help CLS if you set dimensions, and does nothing for INP. How that ties to SEO.

Read more