Image optimisation
Image optimisation is reducing image file sizes and serving images in the right format and dimensions, without visible quality loss, so pages load faster and images rank in search.
Images are often the heaviest part of a web page. A single unoptimised photo straight from a camera can be larger than the rest of the page combined.
In more detail
Key techniques include compressing images, using modern formats such as WebP and AVIF, serving different sizes for different screens with srcset, setting width and height to prevent layout shift, lazy loading images below the fold and preloading the main hero image. For search, descriptive file names, alt text, relevant surrounding text and image sitemaps help images appear in Google Images and AI answers. Many hosts and frameworks automate much of this.
Why it matters
Optimised images improve LCP and page speed, reduce data costs for mobile users and open another source of search traffic.
An online jewellery store converts product images from 2 MB JPEGs to 120 KB WebP files at the right sizes. Product pages load twice as fast, and mobile conversion rate rises.