Improving Website Performance – Serving Climbed Images

How to migrate your Joomla site to WordPress in 5 steps
Find out what are the best platforms to create a blog in 2018

scaled images are those whose size corresponds exactly to the size defined in CSS or HTML. Say a user of a website carries a dimension image of 400 x 400 and uses it as a miniature 40 x 40 using HTML / CSS. This means that the browser will have to first download the large file and reduce it before displaying it. A more efficient method would be to resize the image to 40 x 40 so that the browser did not have to download and zoom out inefficiently.

Benefits of image delivery scale

The use of appropriately sized image can save many bytes of data and improve the performance of your website, especially on mobile devices or tablets. A scaled image will occupy less space, will load faster and reduce the use of resources. It is also one of the recommendations provided by website optimization tools. Having a better score will improve the ranking of your website in Google and boost SEO.

What do you need?

Before beginning this guide, you need the following:

  • FTP access (specifically the image directories);
  • Image editor (Paint or any online editor like  PicResize ).

Step 1 – Analyzing your site

For this step, we recommend using GTmetrix  because it also specifies the exact image dimensions that should be used.

As an example, we analyze a WordPress site created quickly with GTmetrix  and receive a list of images with its exact location and the recommended values.

Scaled images 1

According to the analysis, the response to a scale image reduce the size of each image in more than 50% percent. The more image have, the faster will be loaded after the climb.

Step 2 – Sizing and Replacement Images

In order to reduce your photos, you must first download the files. The images specified in Step 1 can be downloaded using any FTP client. After that, you can use an image editor (Photoshop) or online tools to climb the images. Using PicResize we  scale all images to the recommended ranges.

Scaled images 2

We also recommend preserving the same  file name in the pictures. This way, you only need to replace the old images without having to make changes to the script / code. Once the old images are replaced with the newly dimensioned, the only thing left is to test again.

Step 3 – Testing changes

For comparison, here are the results after uploading properly scaled images:

Scaled images 3

The most important thing is to make sure that the returned images have the same file name to avoid 404 errors.

Conclusion

In this brief guide, we learn how to serve scaled images and thus reduce the use of resources and improve the speed and site performance. The best part is that no coding knowledge is required for this. But if you have been in doubt, contact our support team.

Contact us

Related Guides:

Improving site performance: leveraging the browser cache

Improving site performance: gzip compression

Improving site performance: using JPEG p rogressivas

Improving Website Performance: Enabling Keep-Alive

Improving Website Performance: Using a CDN

Improving site performance: minificando CSS, HTML and JavaScript