Images often account for the largest share of a web page's size, which makes them one of the most common reasons pages feel slow. A photograph straight from a camera can be several times larger than it needs to be on screen, and a page full of such images will take noticeably longer to load, especially on a mobile connection. Optimising images is not about making them look worse. It is about removing size that no visitor can see, so the page loads quickly while the image still looks sharp.

Resize first, then choose the right format

Start by resizing each image to the largest size it will actually be shown at. An image displayed at 800 pixels wide does not need to be 4000 pixels wide, and resizing alone can cut its size dramatically. Next, choose a format that suits the content. Photographs usually work well as compressed JPEG files, while simple graphics, logos, and illustrations with flat colours often work better as PNG or modern formats that keep edges clean. Many image tools can also produce smaller modern formats, but always check that the result still displays correctly in the browsers your visitors use.

Compression is the next step, and it deserves a careful eye rather than a fixed setting. Reduce the quality gradually and compare the result at normal viewing size, not zoomed in. A small amount of compression is usually invisible, while aggressive compression introduces blotches, banding, and fuzzy edges that visitors do notice. The goal is the smallest file that still looks good where it will be seen, which connects directly to improving Core Web Vitals through smarter design choices, since faster-loading images improve the experience for every visitor.

Test on real devices and keep the originals

After optimising, test the page on a phone over a normal connection, not only on a fast office network. Look for images that still load slowly, appear blurry on larger screens, or shift the layout as they arrive. Setting width and height for images helps prevent that shifting, because the browser reserves the right amount of space before the image loads. Also keep your original, full-quality images stored separately. If you later need a larger version for a new layout, you can optimise a fresh copy instead of stretching a small file that has already lost detail.

Finally, write short, descriptive file names and alt text for images that carry meaning, as explained in on-page SEO basics every designer should know. Optimisation is a habit, not a one-time fix: resize, compress with care, test on a real device, and your pages will stay fast without asking visitors to accept blurry pictures.