Image Optimizer is a smart tool that automatically improves your website images. When you upload images to your WordPress site, this module makes them smaller and faster to load without making them look worse. Think of it like compressing a large photo album into a smaller, lighter version that still shows all the details clearly.
When you upload an image (like JPEG or PNG), the module automatically converts it to WebP format. WebP is a modern image format that works like a more efficient version of JPEG - it keeps the same visual quality but uses much less space. This is similar to how a ZIP file compresses documents without losing any information.
The module checks if your images are larger than they need to be. If you upload a huge 4000-pixel wide photo but your website only displays images up to 1920 pixels wide, the module automatically resizes it. This is like having a professional photographer resize your photos to fit perfectly in your photo frames - no wasted space, no blurry edges.
WordPress automatically creates different sizes of each image you upload (thumbnails, medium, large, etc.). The Image Optimizer creates WebP versions of all these sizes. This ensures that whether someone views your site on a phone, tablet, or desktop computer, they always get the right-sized, optimized image.
You don't need to do anything special. Just upload your images as usual, and the module handles everything in the background. It works automatically whenever you add new images to your media library.
You can adjust the quality level of optimized images. Higher quality means better-looking images but larger file sizes. Lower quality means smaller files but slightly reduced visual detail. The module lets you find the perfect balance for your needs.
Images contain hidden information called metadata (like camera settings, location data, and copyright information). The module can either preserve this information or remove it to make files even smaller. Preserving metadata is useful if you want to keep photo credits or copyright notices.
Sometimes, converting an image to WebP doesn't actually make it smaller. The module is smart enough to detect this and keep the original format if it's more efficient. You can also set a tolerance level - for example, allow the WebP version to be up to 10% larger if it provides other benefits.
When you delete an image from your media library, the module automatically removes all the optimized versions it created. This keeps your storage clean and organized.
Smaller image files mean your website loads faster. Visitors don't have to wait as long for images to appear, which makes for a better browsing experience.
Optimized images take up less room on your server. This is especially important if you have many images or limited storage space.
If your hosting charges based on data transfer, smaller images mean lower costs because less data is sent to visitors.
Faster-loading pages keep visitors happy. People are more likely to stay on your site and explore more when pages load quickly.
Set the largest dimensions you want for your images. Any image larger than these settings will be automatically resized down.
Choose how much compression to apply. Higher numbers (up to 100) mean better quality but larger files. Lower numbers mean smaller files but reduced quality.
Turn the entire module on or off. If you disable it, images will be uploaded normally without any optimization.
Decide whether to keep WebP versions even if they're slightly larger than the original. This might be useful if you want to use WebP format for other reasons (like better browser support).
Set how much larger a WebP file can be compared to the original before the module decides to keep the original instead.
Choose whether to remove hidden metadata from images. This can make files smaller but removes information like camera settings and location data.
The module uses either the Imagick or GD library on your server to process images. It automatically detects which library is available and uses the best option. The module integrates seamlessly with WordPress's image handling system, so it works with all themes and plugins that use standard WordPress image functions.
All optimization happens on your server, so your images are never sent to external services. This keeps your data private and ensures fast processing without relying on third-party servers.