How to Optimize WordPress Images Automatically Without Losing Quality

Whether you’re an active blogger who occasionally uses images or a photoblogger who documents experiences with an image-heavy blog, optimization of image files needs to be a priority for you.

The Problem:

Many images contain extra bytes within them that are unnecessary. It’s quite simple: smaller images means your site loads faster, which improves your user’s experience and their likelihood to return. Since site performance is now a factor in Google’s rankings, anything you can do to optimize your images will more than likely also benefit your SEO.

Quick Solution:

I am always looking for solutions and the best ones are those that WordPress users can implement with the least amount of hassle and frustration. That’s why I’d like to recommend the WP Plugin for easy image optimization.

What is is an open source image optimization project offered through Yahoo’s YSlow analyzation for high performance websites and developed according to their best practices for speeding up your website. uses optimization techniques specific to image format to remove unnecessary bytes from image files. It is a “lossless” tool, which means it optimizes the images without changing their look or visual quality.

Luckily, this has been made into a plugin for WordPress users. The WP Plugin makes image optimization for WordPress as easy as install and activate. After you’ve done this you can check to see the percentage by which your images have been reduced by visiting your WordPress media library.

Benefits of WP Plugin:

  • Strips meta data from JPEGs
  • Optimizes JPEG compression
  • Converts certain GIFs to indexed PNGs
  • Strips the un-used colours from indexed images

As a quick test, I went ahead and installed this on a small/medium-sized WordPress site with approximately 80 images contained within posts and pages. I was able to reduce most of the images by approximately 37-53% on average for each.

The only thing I wish the plugin included was a batch processor for retroactively optimizing images that were uploaded before you installed the plugin, because you have to smush the images one by one in the media library, which isn’t very convenient. Once it is installed it will automatically smush images you upload. Other than that small issue, this is a great plugin for optimizing the images on smaller to medium sized blogs or simple WordPress as CMS sites and will offer a boost in performance.

Other Ways to Speed Up Your WordPress Site:

Dramatically Speed Up WordPress/WPMU Load Times With This Simple Tip!
Maximize WordPress and BuddyPress Performance With W3 Total Cache