Core Web Vitals: Check and Optimise Your Images
In this guide
Large images can delay Largest Contentful Paint (LCP), but fonts, scripts and server response also matter. Inspect the measured LCP element before choosing a fix; it may be text rather than an image.
The numbers that matter
Google lists good Core Web Vitals as LCP within 2.5 seconds, Interaction to Next Paint within 200 milliseconds and Cumulative Layout Shift below 0.1. These are user-experience targets, not a promise of ranking gains. See Google’s Core Web Vitals guidance.
Two fixes, both free
First, resize an oversized source to suit its display size, allowing for high-density screens. Then compare compression settings with the image compressor. Try WebP with the image format converter, check small text and gradients, and retain the smallest acceptable result. Savings depend on the source.
Do it privately
The image tools process selected files in your browser. Page assets and optional measurement are separate from file processing; see the privacy policy. Keep the original and remeasure the published page after replacing its image.
Find your LCP element first
Open the page in PageSpeed Insights, or run Lighthouse from Chrome DevTools. Both name the element that produced the Largest Contentful Paint. If it is a hero photo or banner, the image steps on this page apply. If it is a heading or paragraph, look at web fonts, render-blocking CSS and server response time instead, because compressing images will not move that number.
Field data and lab data can disagree. PageSpeed Insights shows real-user data from the Chrome UX Report when a page has enough visitors, and a simulated lab test for every page. Use the lab test to try a fix and the field data to confirm it over the following weeks.
Size images for the space they fill
A 4000-pixel camera photo shown in an 800-pixel column wastes data on every visit. A practical rule is to export at about twice the largest width the image is displayed at, so it stays sharp on high-density screens, and then compress it. Give every image width and height attributes, or a CSS aspect-ratio, so the browser reserves its space before the file arrives. That prevents content jumping around while the page loads, which is what Cumulative Layout Shift measures.
Load the main image early and the rest later
Do not lazy-load the image most likely to be your LCP element. Leave it as a normal image and consider adding fetchpriority="high" so the browser requests it sooner. Images further down the page can use loading="lazy", which waits until the visitor scrolls near them. When the same picture appears at very different widths on phones and desktops, use srcset and sizes so a phone downloads a smaller file.
Check the result after you publish
After replacing an image, clear any CDN or site cache, then run the same test again on the live page, on both mobile and desktop. Compare the LCP time, the image’s transferred size and whether the LCP element is still the one you optimised. If the score barely moves, the delay is probably elsewhere: a slow server response, a large script that blocks rendering, or a font that holds back the text. Keep a short log of each change with its before-and-after numbers, so you know which fix actually helped and can undo one that did not.
Speed up your site free
Compress and convert images in your browser, no upload. Open the image compressor
Frequently asked questions
What is a good LCP score?
Largest Contentful Paint of 2.5 seconds or less is considered good. Between 2.5 and 4 seconds needs improvement, and over 4 seconds is poor.
Should I use WebP or AVIF?
WebP and AVIF can reduce file size, but the best choice depends on the image, encoder settings and target browsers. Compare actual output rather than assuming one format is always smaller.
How do I compress images without losing quality?
Use a tool that reduces file size while keeping visual quality. The BeginThings image compressor does this in your browser with no upload.