How to optimise images for faster loading times on your website

Tips 'n tricks about the web, digital trends, and online marketing

Back to the overview

Optimising images is one of the most important steps to make your website faster. Visitors have little patience these days; if your website takes too long to load, they are gone in no time. In addition, faster loading times also affect your SEO ranking. Large, non-optimised images can slow down your site considerably. Fortunately, there are many ways to optimise your images without sacrificing quality. In this blog post, you will learn how to optimise images for faster loading times on your website.

(Read more below.)
How to optimise images for faster loading times on your website

Questions about this post?

Schedule a free consultation
Send an email πŸ‘‹

Why are faster load times important?

Before we start with the practical tips, it is important to understand why faster load times are essential. Faster websites provide a better user experience, higher SEO rankings and better conversion rates. Google values loading speed, especially on mobile devices. The faster your website loads, the more likely visitors are to stay longer and take more actions, such as filling in a form or making a purchase.

1. Choose the right file format

The first step in optimising your images is choosing the right file format. There are several image formats suitable for websites, and each has its pros and cons:

  • JPEG: Ideal for photos and images with many colours. The file is relatively small and the quality can be slightly adjusted.
  • PNG: Suitable for images with transparency or images where details must be preserved. PNG files are often larger than JPEGs.
  • WebP: This is a modern file format developed by Google. It offers an excellent balance between file size and image quality and is supported by most modern browsers.
  • SVG: This format is perfect for logos and simple images or icons. SVG files are vector graphics, which means they can be scaled infinitely without loss of quality.

Use WebP or SVG whenever possible for best results in terms of faster load times and image quality.

2. Adjust the size of your images

Many websites load images that are much larger than necessary, resulting in unnecessarily large files. By resizing images to the right dimensions for your website, you can significantly reduce the file size, resulting in faster loading times. For example, you don't need an image 3,000 pixels wide if the space in which it is displayed is only 800 pixels wide.

How do you adjust the dimensions?

Use image editing software like Photoshop or free tools like GIMP to manually crop and resize images.
Automate the process with plugins such as Smush for WordPress, which automatically resizes images the moment they are uploaded.

3. Compress your images

After resizing, the next step is to compress your images. Compression reduces file size without a noticeable loss of quality. There are two types of compression:

  • Lossy compression: This method removes some details from the image, making the file size smaller, but this can lead to quality loss.
  • Lossless compression: This involves reducing the file size without any loss of quality. The results are often less dramatic than with lossy compression, but the image quality remains intact.

Tools for compression:

  • TinyPNG and TinyJPG: These online tools use lossy compression to reduce PNG and JPEG files.
  • ImageOptim: A popular desktop app for Mac users to compress images losslessly.
  • Kraken.io: An advanced online tool that supports both lossy and lossless compression and offers batch processing.

4. Use lazy loading

Lazy loading is a technique that loads images only when they come into view, rather than immediately when the page opens. This can drastically reduce the loading time of your website, especially if you have a lot of images on a single page.

How do you implement lazy loading?

In HTML: add the attribute loading="lazy" to your image tags. This ensures that images are loaded only when the user scrolls to them.

<img src="”voorbeeld.jpg”" alt="&quot;example&quot;" loading="”lazy”">

Via a plugin: For WordPress users, there are several plugins that support lazy loading, such as WP Rocket or Lazy Load by WP Smush.

5. Use a Content Delivery Network (CDN)

A Content Delivery Network (CDN) is a network of servers spread around the world. When someone visits your website, a CDN ensures that images are loaded from the server closest to the user, significantly reducing load times.

Examples of popular CDNs:

  • Cloudflare: Offers a free CDN option and is easy to integrate with most websites.
  • Amazon CloudFront: A powerful solution for larger websites with global audiences.
  • KeyCDN: An affordable option with a focus on usability.

6. Remove unused images

Removing unused images on your server is a simple but often overlooked step. Unused images take up unnecessary space and can affect the speed of your website, especially when backing up files. Make sure you regularly clean up your media library to remove unused files. A cleaned-up media library ensures that images have faster load times.

7. Make use of browser caching

With browser caching, you can ensure that images previously loaded by visitors are displayed faster on the next visit. This avoids having to download the same files over and over again.

How do you set up browser caching?

For WordPress users: use a plugin such as W3 Total Cache or WP Super Cache to set up caching.
Manually via the server: Add the following code to your .htaccess file (for Apache servers):

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
</IfModule>

This code causes images to stay in the browser's cache for a year, giving images faster load times.

Conclusion

Faster image load times are essential for a fast website and a better user experience. By choosing the right format and file size, compressing images and using techniques such as lazy loading and a CDN, you can significantly reduce your website load times.

Do you need help optimising your website or images? Or do you need help with faster loading times of your images? Feel free to contact us, and we will be happy to help you!

πŸ‘‰ Funkhaus goes the extra mile for you

We are the all-in-one partner that takes care of everything: from creative web designs to technical optimisations and strategic content. You focus on your business, we take care of the rest.

πŸ‘‹ Vrijblijvende even kennismaken?

Send an email, or schedule an appointment right away!

What’s your challenge today?

This field is for validation purposes and should be left unchanged.

What our partners say

ALV UjW4AjEJOpnfJgZ1YtLJi RBk0HCo3ewZiiuksgoKJAI TsZe0=s120 c rp mo br100
Annelies Belsack

In our collaboration with Funkhaus, we took care of UNICHIR vzw's website.

Funkhaus was responsible for the web strategy and design, inspired by the new UNICHIR logo. They then technically elaborated this design into the brand new website.

DSC was responsible for the fundraising strategy and content.

They provided us with a handy custom WordPress template, allowing us to easily add content on the website ourselves. The template works very easily.

The job was completed to perfection. Their approach was structured and smooth.

Funkhaus is also very accessible for additional questions and goes that extra mile for its customers.

Your project is definitely in good hands with Funkhaus!

We are satisfied with the approach, the follow-up and, of course, the final result.

Thank you, Wout and the Funkhaus team, and we look forward to seeing you on the next project.

ALV UjUskrhxd7xVTVk5iKy9l91FewV5aJStFBLFc8Js2SS1Z63U39U=s120 c rp mo ba12 br100
Tibor R. B. Bassez

We have been satisfied customers of Wout and his team for many years. Besides updating our website every week, he also keeps his finger on the pulse for the latest developments in ICT land.

ACg8ocILumdO17ip2DjyGuRyhzDV1Z07hxpKPq2iQ8IYR64Zrn8SMA=s120 c rp mo ba12 br100
Saar

The entire Eurowaste team would like to thank your team at Funkhaus for the smooth and professional cooperation. We currently have a fresh new website that works well. Thanks also for getting our 'socials' like LinkedIn in order.

ALV UjVz8zTyCYL91CYe63xehE9W6WC86w76AZrnJMo3UA2kC5FMZ40=s120 c rp mo br100
karine peeters

Great performance by wout. Received a lot of good comments from my customers regarding the website. The professional approach, the class that the website exudes and the top service before, during and after the launch of the website is outstanding. For a beautiful professional website 1 address. @funkhaus πŸ‘Œ

ALV UjUpe6vePkIUc4wQqycPY6RpLowEMgG9EEVQsSRpG9EcsMybLWs=s120 c rp mo br100
Expo Z

Always accessible, always helped quickly and professionally.

Very pleased with our fun and smooth collaboration!

ACg8ocIzMI83zFzTQbJlrGiFarjF0LdZhaFz 8qswDofI Pkp5PETg=s120 c rp mo br100
Philippe Ronge

Very satisfied with our collaboration with Funkhause for the automation and expansion of our CRM package. They think along proactively, communicate clearly and deliver professional work. Thanks to their expertise, our processes work a lot more efficiently today. Absolutely recommended!

ALV UjWo03rqAZpUuuWvYqdQPpXeOxTWI2RzoQOWVZqaYyiaOnYcWBk=s120 c rp mo br100
Charlotte Lambrecht - Charlie's Fit Studio

Would you like to have a top website/logo developed?

Then you've come to the right place at Funkhaus!

What I myself find hugely important in a collaboration is good communication. Wout was always very quick in answering my questions and looking for solutions. Everything was always discussed in consultation and there was room for brainstorming and creativity. If something didn't feel 100% right, Wout provided several alternatives until the feeling was completely right. It was also an absolute bonus to receive such positive support as a start-up.

A very nice collaboration resulting in a top website. Go check it out at www.charliesfitstudio.be

ALV UjWMr41NrBFg9qq a3pWL8oJK0xTATL3FDdZVaGyu91i41OXXPQP=s120 c rp mo br100
Yv. Private

Always a very quick response and strong in communication. Wout can switch quickly and always understands immediately what I mean. The end result is therefore always quick and immediately satisfactory. Definitely highly recommended!

ALV UjXkl rZ1z19x9xzhakNnfEPG9TJPK4shMgU 1KDuR maEhAuMr=s120 c rp mo br100
Jakster Fransiscus

Excellent advice for my new website! Very professional and focused tips. Highly recommended!

ACg8ocJt x jc2hTOYYMGtOTgh0dBqYpt4KV5h1dsR7mxFWzVDu3wQ=s120 c rp mo ba12 br100
Kylie Mineo

Fantastic website builder with a lot of experience! It was very smooth cooperation and you can't ask anything too much of Wout to get everything to your liking. Highly recommended!