February 4, 2019
3 min Read
February 4, 2019
3 min Read
One of the crucial tasks in website optimization that some people tend to forget is images. In one of our previous guides, we have learned how to effectively improve site performance by serving scaled images. In this one, we will take it one step further and learn how to optimize baseline JPEG images into progressive ones.
Generally, JPEG images load from top to bottom and they are called baseline images. Progressive JPEG images differ by showing the entire image immediately while only loading a part of the data, meaning that it may look pixelated until it is fully loaded. Below you will find an example for better understanding.
Baseline JPEG loading cycle:
Progressive JPEG loading cycle:
In addition to the better visual experience, progressive JPEG images are 2% to 10% smaller in size compared to baseline pictures, thus using them will improve the loading of your website and overall performance. Your requests to the server will be shorter and more efficient, which will also reduce your resource usage such as bandwidth, disk space. That is extremely efficient if you are hosting a website on free or shared hosting services. Websites with a large amount of baseline JPEG pictures will also greatly benefit from the lossy compression into progressive JPEG images. It is also worth mentioning that visitors who access your website via mobile device or slow internet connection will have an overall better visual experience and faster load times if you use progressive jpeg images.
IMPORTANT! Some browsers (for example Internet Explorer before Windows 7) do not support progressive JPEG images. However, all later versions support it.
Before you begin this guide you’ll need the following:
To locate baseline JPEG images that can be replaced with progressive ones, we will be using WebPageTest.org. This tool is really great, as you can also get the progressive version of a baseline JPEG image without using any additional tools.
Here are the results of Performance Review section after analyzing a test site:
There is a wide variety of tools that will allow you to convert baseline JPEG images to progressive ones. Here are a few:
After finding the list of images that can be replaced, navigate to Details section and press View All Images
That section will display all the images on your page. Press Analyze JPEG on each picture located in Step 1 of this tutorial and scroll down to the bottom.
There you will find Quality 85 Image of your original picture. Save all the Quality 85 Images to your computer and proceed to the next step. We would highly recommend saving the images with the same file name as the original ones, as that way the replacement procedure will be much easier.
If you are planning to upload more images to your site in the future, or if your website is not yet uploaded, you can use Optimizilla to convert your baseline JPEG images into progressive ones. Using this tool you can optimize up to 20 images and shrink them using lossy compression algorithms to Quality 85 or even less.
IMPORTANT! Going below 85 may result in a loss of quality. Proceed with care.
IMPORTANT! Make sure to backup your website or the images that you are planning to replace before proceeding.
Once all the images are uploaded, clear your browser cache and open up your website to see if everything loads fine. After that, you can analyze your website with WebPageTest.org to check if everything was done correctly. Here are the results that you should see in the Details section:
In this guide, we have learned how to boost the speed of your website by using progressive JPEG images instead of baseline. The smoother visual experience and lower size are sure to make you and your visitors happier while at the same time reducing the site’s resource usage, improving SEO and website performance. It’s basically a win-win situation for everyone.
Related website optimization guides: