

But in the current situation of the market WebP is used widely. So, let's compare WebP Images to all other types of image formats.īasically, PNG is one of the most worthwhile image formats.

To overcome this problem Google has developed the new format WebP image format. So yes, the loading speed of the website is very important to improve SEO. It is best if the loading speed of your website is approx 3 seconds. When there is a slightly slow internet connection then it is very hard to load these big-size images.

It is much mandatory that google has made it an actual ranking factor. In terms of SEO, speed is a very important factor for any website. Mainly, the reason for the outdated format is due to the size of these images which is very big and this might affect the website's performance. jpg which was developed for a long time and now with the trending technologies, this format of. That’s it! Fast and effective solution to optimize images on your Magento website in a few minutes.Basically, the image format used by all is. Guetzli –quality 85 col_left_callout.jpg image-out.jpg Now to optimize image using Guetzli, execute the following command. Step.5 sudo cp bin/Release/guetzli /usr/bin/ Step.4 make // execute make command in shell
MAGENTO OPTIMIZE IMAGES INSTALL
Step.1 sudo apt-get install git gcc make pkg-config libpng-dev Images Optimization with Guetzli using SSHįirst of all, execute the following commands to install the Guetzli library on your server. To optimize JPEG images, execute the following command, this will find and optimize all the JPEG images in all subfolders of catalog/ directory.įind catalog/ -type f -name “*.jpg” -exec jpegoptim –strip-all \ This will find and optimize all the PNG images in all subfolders of the current directory.Ĭd /var/www/html/magento/skin/frontend/rwd/defaultįind images/ -iname *.png -print0 |xargs -0 optipng -o7 For this, open the media folder inside the root directory of your Magento installation and execute the following commands.

The optipng utility will be used for optimizing PNG files and to install it, run the following command in your shell.Īnd for optimizing JPEG files, the jpegoptim utility will be used and to install it, run the following command in your shell.Īs now you have successfully installed the utilities for PNG and JPEG files, let’s start optimization for PNG images inside media/catalog folder of your Magento installation. So let’s go to the solution now, and find how we can optimize images in Magento.Ĭonnect to the server via SSH and install following two utilities for optimizing *.png and *.jpeg files. The smaller the file’s size of the images, the faster it will be loaded. That is the main reason why optimize images are important for the web. When you visit the website, the server initially calls all of the files of the website to load and depending on the website, the images could take a huge part in all files that need to be loaded. There are many factors which affects the performance of your website and images optimization is one of the important and easy ways to improve the performance of your e-commerce store. The faster e-commerce website has more conversion ratio than slower websites which ultimately increases your business conversions. Performance of your Magento store plays a crucial part in driving traffic towards your e-commerce website with more and assured conversions.
