Short answer: Resize images to the size they're displayed at, save them as WebP or AVIF, compress them, lazy-load anything below the first screen and always set width and height. On most sites this cuts page weight more than any other single change.
Why images matter
Images are usually the heaviest part of a page. A single unedited phone photo can weigh more than the rest of the page combined, and it slows the main content (LCP) on mobile networks. See Core Web Vitals.
The five rules
- Resize first. If an image shows at 800 pixels wide, don't upload a 4000-pixel original.
- Use modern formats. WebP is widely supported and much smaller than JPEG for the same quality; AVIF is smaller still.
- Compress. A quality setting around 70 to 80 is usually invisible to the eye.
- Lazy-load below the fold. Images further down the page load only when needed. Never lazy-load the main hero image.
- Set width and height. It reserves space so the layout doesn't jump.
Responsive images
Serve smaller files to phones and larger ones to desktops using srcset. WordPress creates several sizes automatically when you upload.
Tools
- Image optimisation plugins for WordPress that convert to WebP automatically.
- Free web tools to compress images before upload.
- Your theme's settings to control image sizes.
A quick audit
Run PageSpeed Insights and look for "Properly size images" and "Serve images in next-gen formats". Fix the biggest files first.
Frequently asked questions
Will compression make my images look bad?
Not at sensible settings. Compare before and after at actual display size.
Is PNG ever better?
For simple graphics with sharp edges or transparency, PNG or SVG can be best. Use WebP for photos.
Should I use a CDN for images?
If your visitors are far from your server, yes. See what a CDN is.



