Book a free 30-minute call

Optimising images for your website

Josh Cox Josh Cox Updated 29 October 2026 3 min read
Illustration of a document with a cog and arrows pointing inwards, labelled File Optimization

Updated October 2026: I’ve added the newer WebP and AVIF formats, the free Squoosh tool and what WordPress does with your images automatically, and updated the size guidance.

In this knowledge base article I’ll be running through the importance of optimising images for the web. I’ll discuss why it’s necessary and look at some tools and programmes you can use.

What is image optimisation?

Image optimisation is the process of reducing the file size of an image, which is to be uploaded to a website.

Why is it important?

The main reason why image optimisation is important is due to page speed, which in turn impacts SEO and usability. The smaller the image file(s) on your web page, the faster the web page will load. And, the faster your page will load, the better usability and search engine ranking your site will have.

Image optimisation is needed because images taken on professional cameras or even smart phones have a very high resolution and very large dimensions (height & width). These sizes and dimensions are typically too large for your average website.

Who needs to optimise images?

If you are uploading images to your website, you should optimise them. End of. This includes any activity such as adding images to a blog post, products or static pages.

What are the ideal size & dimensions of an image destined for the web?

It really depends on the website, but here are some rules of thumb:

  • Size the image for where it will appear. Around 2,000 pixels wide is plenty for a full-width banner or background; an image in a column or blog post can be much smaller.
  • Compress the quality of your image to between 60-80%. It will not only lower the file size, but shouldn’t impact your image’s sharpness.
  • Aim for kilobytes, not megabytes. Ideally you should keep images below 250KB. The lower the better.
  • Use WebP or AVIF where you can. These newer formats are much smaller than JPEG or PNG at the same quality, and every modern browser supports them. WordPress accepts WebP, and AVIF too if your server supports it.

What WordPress does for you

When you upload an image, WordPress automatically creates several smaller copies of it and serves the right size for each visitor’s screen. It also scales down very large uploads (anything over 2,560 pixels) on its own.

That’s a great safety net, but it doesn’t compress your original much, so it’s still worth resizing and compressing images before you upload them.

If I host your website, my WordPress and WooCommerce hosting also includes built-in image and code optimisation tools.

Tools of the trade

What online tools can you use?

Squoosh is my first choice. It’s free, it runs in your browser, and it lets you resize an image, convert it to WebP or AVIF and compare the before and after side by side. It handles one image at a time, though.

For a batch of images, the Online Image Optimizer, Optimizilla (ImageCompressor.com), is a good option. Why?

  1. It’s free,
  2. Allows great flexibility over the compression,
  3. Allows you to actually visualise the compression before applying,
  4. And, lets you optimise up to 20 images at a time.

The limitation, however, is that you cannot reduce the dimensions of the image or crop it.

What downloadable software/programmes can you use?

While Photoshop is the most well-known photo-editing software, it comes at a premium price and is, in my opinion, too complex for the average user.

I would recommend using GIMP (gimp.org). Funny-sounding name, I know, but it has a good range of tools, lots of support docs and it’s free.

While I won’t be discussing the step by step process of image optimisation, there is a detailed article here that will help.

Good luck! If you’re a client and you’d like a hand, send me a support request.