Site speed Step-by-step

How to Compress Images Without Making Them Look Blurry

Blurry images usually come from the wrong size, not too much compression. Get the dimensions right first, then compress sensibly, and photos stay sharp at a fraction of the weight.

Share this guide

You run your photos through a compression tool to speed up the site. The file sizes drop, but now your project photos look soft, faces have smudgy edges and the logo has a grey halo. So you put the originals back, and the site is slow again. It feels like a trade-off between sharp and fast. It mostly isn’t.

Quick answer

Images go blurry mainly when they’re displayed larger than their actual size or compressed too hard. Resize each image to the largest size it’s shown at (allowing for high-resolution screens), use a modern format like WebP or AVIF, compress at a moderate quality and check the result at real size. Serve smaller versions to phones with srcset. Use PNG or SVG for logos and graphics, not JPEG.

This guide explains why images go blurry, the right format for each type of image, a step-by-step workflow, WordPress settings and how to check the result.

Why images end up blurry

CauseWhat happensFix
Image too small for its spaceThe browser stretches it, softening detailUpload a larger original
Too much compressionBlocky patches, smudged edges, banding in skiesUse a higher quality setting
Wrong format for the contentLogos and text look fuzzy as JPEGUse SVG or PNG for graphics
Repeated re-savingEach JPEG save loses more detailAlways compress from the original
No high-resolution versionLooks soft on modern phones and laptopsProvide a 2x version via srcset

Choosing the right format

Google’s image format guide explains the trade-offs. In short:

FormatBest forNotes
WebPPhotos and most imagesSmaller than JPEG at similar quality; widely supported
AVIFPhotos where size matters mostOften smaller again; encoding is slower
JPEGPhotos, as a fallbackUniversal support
PNGScreenshots, graphics needing transparencyLarge for photos
SVGLogos, icons, simple illustrationsSharp at any size; tiny files

Our comparison of WebP and AVIF goes into more detail.

Step by step: a workflow that keeps images sharp

  1. Start from the originalUse the camera or designer file, not one already compressed.
  2. Work out the display sizeFind the widest the image appears on your site. A full-width hero might be 1,600 to 2,000 pixels; a blog image in a content column perhaps 800 to 1,200.
  3. Allow for sharp screensHigh-resolution screens show more pixels; providing roughly twice the display width via srcset keeps images crisp.
  4. Resize, then compressResizing does most of the work. A 6,000-pixel photo shown at 1,200 pixels wastes most of its weight.
  5. Pick a moderate qualityStart around the middle-to-high range of your tool’s quality slider and compare. Faces, fine textures and skies need more quality than plain backgrounds.
  6. Check at actual sizeView at 100% and on a phone. If you can see blocks or smudges, raise the quality.
  7. Add width and heightSo the page doesn’t jump while loading. See layout shift.

Responsive images: the right size for every screen

A phone doesn’t need a 2,000-pixel image. With srcset and sizes, the browser picks a suitable version for each screen, as explained in Google’s responsive images guide and MDN’s explanation. This is how you serve sharp images to large screens and light ones to phones at the same time.

In WordPress

  • WordPress automatically creates several sizes of each upload and adds srcset to images in content, so upload a large, good-quality original.
  • Very large uploads are scaled down automatically to a maximum size, so there’s no need to upload 8,000-pixel photos.
  • An image optimisation plugin can convert to WebP or AVIF and compress on upload. Use one, not several.
  • Check that your theme uses the right image size for each layout, rather than the full original everywhere.

Quick diagnosis

What you are seeing

  • Soft or blocky photos
  • Fuzzy logos
  • Images heavy in PageSpeed Insights

Likely causes

  • Over-compression
  • Images stretched beyond their size
  • JPEG used for logos
  • Double compression

Check first

  • View at 100%
  • Network tab file sizes
  • “Properly size images” in Lighthouse

Get help when

  • Thousands of existing images to reprocess
  • Theme serving wrong sizes

Image SEO while you’re at it

Google’s image best practices recommend descriptive filenames, helpful alt text and high-quality images near relevant text. Rename IMG_4471.jpg to something like kitchen-extension-terenure.webp before uploading, and write alt text that describes the image. See writing alt text.

A worked example

This is an illustration, not a specific client. A Dublin landscaper’s gallery page loads slowly, so they run every photo through an online compressor at its lowest setting. The page is lighter, but lawns look like green blotches and customers comment that photos look “off”.

They start again from the originals, resize to 2,400 pixels wide (twice the 1,200-pixel gallery width), convert to WebP at a moderate quality and let WordPress generate smaller sizes. The page weight still falls dramatically compared with the originals, and the photos look sharp on phones and large screens.

Mistakes to avoid

How to check the result

  • Images look sharp at 100% and on a high-resolution phone.
  • PageSpeed Insights no longer flags oversized or poorly compressed images; see finding oversized images.
  • Page weight falls in the Network tab; see finding the largest files.
  • LCP improves on image-heavy pages.

For the wider picture, read why a website loads slowly and optimising product images. If you’d like help, our website development team can set up an image pipeline, and our technical SEO service covers speed and Core Web Vitals.

Frequently asked questions

What size should website images be?

About twice the width they’re displayed at, served with srcset so smaller screens get smaller files.

What quality setting should I use?

There’s no single number. Start in the middle-to-high range and compare at real size.

Is WebP better than JPEG?

Usually smaller at similar quality, and supported by modern browsers.

Why does my logo look blurry?

Often because it’s a JPEG or too small. Use SVG or a large PNG.

Do I need a plugin to compress images in WordPress?

It helps, especially for WebP conversion. Use just one.

Does image size affect SEO?

Indirectly, through page speed and experience. Alt text and filenames help image search.

Related reading: reading a PageSpeed Insights report, when to use lazy loading, testing speed before and after changes and whether a CDN makes every site faster.

Sources and further reading

  1. Choose the right image formatweb.dev (Google).
  2. Serve responsive imagesweb.dev (Google).
  3. Responsive imagesMDN Web Docs.
  4. Google image SEO best practicesGoogle Search Central.

Last updated 25 November 2026. Google changes its tools and reports regularly, so check the official sources above if something on screen looks different. This guide is general information, not advice for your specific website.

Found this useful? Share it