Image is the heaviest part of a webpage. Optimizing images of your site can really boost its loading time and can save huge bandwidth. So, in this tutorial, we will learn how to optimize the image on a WordPress site.
Some beginner blogger uploads and use images on their blog without optimizing them for web. And this mistake directly impacts their website's loading speed. The large image takes more time to download and this slow down the loading speed of your site.
In this article, I'll show you how you optimize the image in WordPress without losing quality. The optimizing image can save up to 50% disk and load faster.
- 1 What is Image Optimization?
- 2 How to Optimize Image?
- 3 Conclusion
What is Image Optimization?
A normal image is very large in size. If you capture an image in a DSLR, the image file size will be something 10MB or 15MB. Now, imagine if you use this picture directly on your site. Now, when a user comes on your site and visits that page, then how much time will take the user's web browser to load that page. I think it a huge time, and maybe not load if the user has very slow internet.
So, what is the solution? The solution is to optimize that image. Image optimization is a process that reduces image size with the same image quality. There are many sites that can help you to optimize images and compress them according to your need.
How does image optimization work?
In the optimization process, the image becomes smaller in size by compressing technology without any noticeable loss of quality. There is two way to optimize an image "Lossy" and "Lossless".
In Lossy, the image compresses as much as possible. This is recommended who runs blog and news websites.
In Lossless, the image has better quality but some large in size compared to 'Lossy image compression". It is recommended for photography websites.
Benefits of image optimization
Image optimization reduces the image's size which has these benefits -
- Faster Loading Speed
- Low webspace consumption
- Save bandwidth
- Improve SEO ranking
How to Optimize Image?
There are two ways to optimize images. The first is 'optimize image before uploading" and the second is "Optimize image after uploading".
Optimize image before upload:
If you don't want to use any plugin then you can optimize your images before uploading them. To do this, you can use a third-party website and tools.
TinyPNG is a free website for compress image. All you need to just go to the website and upload the image by drag-and-drop. After uploading, TinyPNG will compress that image by their lossy image compressing technology and give you a new compressed image.
You can also use another TinyJPG site for optimizing JPG image. You can optimize up to 20 images in a single time. The image file must be less than 5MB.
If you want to remove this 5MB limit, then you need to buy a plan. Mostly people like me don't need this. You can use their Photoshop Plugin.
OptimiZilla is a free online app that compresses image with a lossy algorithm with maximum compression yet minimum quality loss. You can optimize up to 20 images in a single time.
Optimize image after the upload:
Manually optimize and upload them is tough work. But some WordPress plugin can do your work easy with their automatic technology. Here is a list of the best image compression plugin for WordPress.
reSmush.it is a free WordPress image optimization plugin with over 100,000 active installations. It is totally free for everyone and available for more than 15 platforms including WordPress.
Smush is an award-winning image optimization plugin for WordPress. It is not 100% free but you can use their service for free. With image optimization and compression, it also has a Lazy load option that dramatically improves website loading speed.
3. WebP Express
WebP image format is a modern solution of image for the web. WebP image is smaller than JPG and PNG format and some quality. You can read more about WebP image in this article.
WebP Express plugin automatically create WebP image serve them to the user. It is totally free for us.
On the fly image optimization:
On the fly image optimization a new method of optimize, resize, compressing and delivery solution for the web. In this method, the image will be optimized by your content delivery network. Here are two hand-picked free solution of it.
Jetpack is an official plugin by WordPress that adds many advanced compatibilities to the website. This plugin comes with an image CDN which is free of cost. All you need to just activate it.
Jetpack will delivery your image through its content delivery network(CDN). During this, Jetpack compresses and resize image according to the use on size.
Statically is an open-source CDN. It is packed with multiple CDN like Cloudflare, BunnyCDN and Amazon Cloudfront, Google Cloud etc and delivery through it. During the delivering images, it automatically compresses and optimizes images.
Image Optimization reduces image size without compromising quality. You should optimize all images on your website so website load faster, boost SEO, save resources and give better experience. If you're looking for a free image optimization plugin that WebP Express is a better option. You can also look at reSmush.it plugin. If you are looking for some paid option then ShortPixle is a good option.