Site speed is not a technical luxury. A visitor on a weak connection leaves if the page does not appear within three seconds, and search engines measure that against your competitors. At the centre of that measurement are three metrics called Core Web Vitals, and images affect almost every one of them. The good news is that image optimisation is the easiest win available to any blogger and needs no developer.
The three metrics in plain language
LCP, Largest Contentful Paint, measures when the largest visible element appears. In most articles that element is the cover image or a large in-content photo. If the image is heavy, the metric stays poor even when everything else is fast.
INP, Interaction to Next Paint, measures how quickly the page responds to a tap or keystroke. Images do not affect it directly, but huge images consume device memory and make scrolling and tapping slower, especially on mid-range phones.
CLS, Cumulative Layout Shift, measures layout jumps during loading. Its most common cause is an image without dimensions: text starts in one place, the image arrives, and everything shifts. The reader taps the wrong button or loses their reading position.
Why images are the first problem
Because they are bigger than all the code combined. A typical article page may carry 100 KB of HTML, CSS and JavaScript, plus a single 3 MB cover image. No amount of script optimisation compensates for that gap. A photo from a modern phone is far larger than the screen needs: 4000 px wide for an 800 px slot wastes about 90% of the bytes.
Three steps that deliver 80% of the result
- Switch to WebP. It usually saves 25–35% versus JPG at similar visual quality and supports transparency. All modern browsers handle it, and you can offer JPG as a fallback if you target very old browsers.
- Set the real width. 1200 px is enough for blog content, 800 px for an in-article image, 600 px for a post card. Do not upload a 3000 px photo to display it at 700 px.
- Choose quality deliberately. 75–82 works for photographs. Screenshots and images with text need 90 or more, otherwise letters become unreadable.
How to tell compression did not ruin the image
Do not judge by the quality number; judge by the result. Open the compressed file at 100% on a phone screen and look for artefacts around edges, odd speckles in smooth areas such as sky, and the legibility of small text. If you see no difference at normal viewing size, the compression succeeded. Compare size too: a 1200 px photo should land roughly between 80 and 200 KB after good compression.
Technical details that matter
- Always set
widthandheightattributes to reserve space and prevent CLS. - Use
loading="lazy"for images below the fold, but let the cover image load immediately because it is the LCP element. - Add
fetchpriority="high"to the cover image so the browser fetches it early. - Never upscale a small image with CSS; quality drops and the file size does not.
- Serve different dimensions for mobile if your theme supports
srcset.
How to measure the improvement
Run PageSpeed Insights on a real page and watch the Core Web Vitals report in Search Console after two to four weeks. Numbers vary with device and network, so track the trend rather than a single score. If LCP improves from 4.2 s to 2.1 s that is a clear win, even when day-to-day readings differ.
What not to do
Do not compress the same image repeatedly; every pass loses detail. Always keep a high-quality original outside the site. Do not convert a transparent PNG to JPG before checking the background, because transparency becomes a solid colour. And do not install “image optimisation” plugins that re-compress on every request, generating multiple copies and consuming hosting space.
Lossy and lossless compression
To understand what compression does to quality, separate the two types. Lossless compression, such as PNG, preserves every detail and only re-encodes the file more efficiently, so savings are limited. Lossy compression, such as JPG and WebP, discards detail the eye usually does not notice, which is why it saves much more. Photographs tolerate lossy compression well, while screenshots with sharp text degrade quickly and need higher quality.
Checking the result with numbers
Do not rely on feel. Compare three numbers before and after: file size, pixel dimensions, and how long the page takes on a slow connection. Add a visual check on a real phone screen, because large monitors hide artefacts.
- Open the image at 100% and look for a grey halo around edges.
- Inspect smooth areas such as sky or walls, where banding appears first.
- Check small text inside the image, the first casualty of strong compression.
- Test the page on a throttled connection in developer tools, not on fast office Wi-Fi.
If you cannot see a difference at normal viewing size, you have won: a lighter page, a faster visit, and an image that looks identical. If artefacts are obvious, raise quality by five points rather than returning to the heavy original; the size difference between 75 and 85 is small compared with the gap between the original and the optimised file.
The takeaway
Start with the cover image on your last three articles. Make it WebP, set its width, add dimensions. That single step can move a PageSpeed score noticeably. Then work through the rest of the images, followed by fonts and scripts. A fast site is not one setting; it is a series of small decisions that accumulate in the reader’s favour.