Journal · Performance
WordPress image optimisation: faster pages without losing quality
How to optimise images on WordPress without losing quality: the right size, the right format, compression and what WordPress already does for you.
By Alleo Gordon, founder of WonderlandSites
Picture a personal trainer adding a new photo to their homepage. It’s a lovely shot, taken on their phone that morning, and they upload it straight to WordPress. The photo is several thousand pixels wide and several megabytes in size. On a phone screen, it’s shown at about the width of your hand.
Every visitor downloads all of it anyway.
That’s the most common speed problem I see on small business websites, and it’s also one of the easiest to fix. Here’s how WordPress image optimisation works in plain English: what WordPress already does for you, what you still need to do, and the plugins that can take the job off your hands.
Key takeaways
- Resize before you upload. Most photos on a small business site never need to be wider than about 2,000 pixels.
- Compress to make the file smaller with little or no visible difference.
- Use modern formats like WebP or AVIF where your hosting supports them.
- WordPress already lazy-loads images and creates smaller sizes for you. A plugin can handle the rest automatically.
Why images slow a site down
Words are light. A whole page of text might be a few kilobytes. A single unedited photo can be thousands of times bigger.
On a fast home broadband connection you might not notice. On a phone with one bar of signal on a train, a visitor waits, and some don’t wait. Heavy images also use up your visitors’ mobile data, and on some hosting plans they eat into your storage and bandwidth too.
So image optimisation is really three jobs:
- Size: the image shouldn’t be bigger than the space it’s shown in.
- Weight: the file should be squeezed (compressed) as small as it can go without looking worse.
- Format: newer file types hold the same picture in fewer bytes.
What WordPress already does for you
WordPress has quietly got better at images over the years. Out of the box, current versions:
- Make smaller copies of every image you upload. When you add a photo, WordPress creates several sizes, and modern themes let the visitor’s browser pick a suitable one for their screen.
- Scale down very big uploads. Since WordPress 5.3, if you upload an image that’s wider or taller than 2,560 pixels, WordPress creates a scaled-down “web” version and uses that instead of the giant original.
- Lazy-load images. Since WordPress 5.5, images further down the page wait to load until the visitor scrolls near them.
- Accept WebP and AVIF. WordPress has supported uploading WebP images since version 5.8 and AVIF since 6.5, as long as your hosting supports those formats.
That’s a good starting point. What WordPress doesn’t do by default is compress your images much further or convert them to the newer formats for you. That’s where a little care, or a plugin, comes in.
Step 1: Resize before you upload
This is the habit that makes the biggest difference, and it’s free.
- Full-width banners: around 1,920 to 2,000 pixels wide is plenty for most sites.
- Images in the main column of a page or post: often 1,200 pixels wide is enough.
- Headshots, logos and small pictures: usually far smaller.
Your phone’s photo editor, the Photos app on a Mac or Windows, or any free image editor can resize a picture in seconds. Look for “resize” or “export”, set the width, and save a copy.
Step 2: Compress without losing quality
Compression shrinks the file. There are two kinds:
- Lossless keeps every detail. The file gets smaller, but not dramatically.
- Lossy removes detail your eye is unlikely to notice. The file gets much smaller.
For photos of you, your space or your work, a careful lossy setting usually looks the same to visitors. For logos, screenshots and images with text, check the result closely, because edges and lettering show artefacts first.
The golden rule: look at the result on a real phone before you decide it’s fine.
Step 3: Use a modern format (WebP or AVIF)
JPEG and PNG are the formats most websites have used for years. WebP and AVIF are newer formats that hold the same picture in a smaller file. WordPress’s own developers describe WebP images as around 30% smaller on average than JPEG or PNG equivalents, and AVIF as up to 50% smaller than JPEG at the same quality.
You don’t have to convert files by hand. Most image optimisation plugins can create WebP or AVIF versions automatically and serve them to browsers that support them.
One reality check: your hosting needs to support the format. If it doesn’t, WordPress simply carries on with your JPEGs and PNGs, so nothing breaks.
Image optimisation plugins compared
These plugins compress your images and can convert them to newer formats. Install figures and free allowances are from each plugin’s WordPress.org page, read on 27 October 2026. Allowances change, so check before you rely on one.
| Plugin | Free version | Worth knowing |
|---|---|---|
| EWWW Image Optimizer | Yes | Can compress images on your own server with no monthly limit, if your hosting allows it. WebP, AVIF and lazy load options. 1 million+ active installs. |
| Smush | Yes | Compression, lazy load and bulk optimisation. WebP/AVIF serving and its image CDN are in the Pro version. 1 million+ active installs. |
| Imagify | Yes, up to 20 MB of images a month | WebP and AVIF conversion included in the free plan. 900,000+ active installs. |
| ShortPixel | Yes, 100 free credits a month | Compresses images and PDFs and converts to WebP and AVIF; paid credits for more. 300,000+ active installs. |
If your site runs on LiteSpeed hosting and already uses the LiteSpeed Cache plugin, check its image optimisation settings before adding anything else. It has an image optimisation feature that sends images to its QUIC.cloud service for processing.
As with caching, pick one image plugin. Two plugins both trying to compress the same image is a recipe for confusion.
A simple routine for busy owners
You don’t need to become a photo editor. A five-minute routine covers most of it:
- Before uploading: resize to the width you need.
- Name the file sensibly: “therapy-room-hackney.jpg” tells Google and visitors more than “IMG_4821.jpg”.
- Add alt text: a short description of the image for people using screen readers, and for search engines. “A calm therapy room with two chairs” beats “photo”.
- Let your plugin compress it on upload.
- Once a year, run the plugin’s bulk optimiser over older images.
What image optimisation won’t do
It makes pages lighter. It won’t fix a slow server, an overloaded theme, or a page stuffed with videos that autoplay. For the wider picture, see the step-by-step guide to speeding up WordPress.
And, as ever, a lighter page is kinder to your visitors. It isn’t a promise of more bookings or a better spot on Google.
How I handle images at WonderlandSites
On my hosting, every care plan includes weekly updates to WordPress, your plugins and your theme, then a check that your key pages still work. If your image plugin has an update and something looks odd afterwards, that’s part of what I check. If an update I run breaks something, I fix it free.
You can see what each plan includes, and what it doesn’t, on my plans page.
Want to know if your images are slowing you down? Start with a free Website Check
Your free Website Check A plain-English report within 24 to 48 hours (Monday to Friday): an overall grade (A–F), what’s working, what isn’t, and your top 3 fixes in order. No login, no call, nothing changed on your site. Get your free Website Check
Then you decide what happens next. When did you last check the size of the photo at the top of your homepage?
Frequently asked questions
What size should images be for a WordPress website? For most small business sites, full-width banners of about 1,920 to 2,000 pixels wide and in-page images of about 1,200 pixels wide are plenty. WordPress also scales down uploads larger than 2,560 pixels automatically.
Does WordPress support WebP and AVIF? Yes. WordPress has supported WebP uploads since version 5.8 and AVIF since 6.5, as long as your hosting supports those formats. An image optimisation plugin can create these versions for you automatically.
Will compressing images make them look worse? Lossless compression doesn’t change how an image looks. Lossy compression removes detail most people can’t see, which makes files much smaller. Check the result on a phone, and take extra care with logos and images containing text.
About the author Alleo Gordon, founder of WonderlandSites. Studied Computing at London South Bank; IT technician at a sixth form college in Bethnal Green for 3 years; looking after websites since 2018.
Whenever you’re ready, I’m here.
Tell me a little about where you are and where you’d like to be. I’ll reply personally.