Header image

WP Smush.it Wordpress Plugin

Reduce image file sizes and improve performance using the Smush.it API in WordPress.

Downloads

Yahoo’s excellent Exceptional Performance series recommends optimizing images in several lossless ways:

  • stripping meta data from JPEGs
  • optimizing JPEG compression
  • converting certain GIFs to indexed PNGs
  • stripping the un-used colours from indexed images

Smush.it offers an API that performs these optimizations (except for stripping JPEG meta data) automatically, and this plugin seamlessly integrates Smush.it with WordPress.

How does it work?

Every image you add to a page or post will be automatically run through Smush.it behind the scenes. You don’t have to do anything different.

N. B. In some cases GIFs should be replaced with PNG files. You can control this behaviour on the Options page. It is off by default.

Screenshot of the WordPress Media Library with WP Smush.it running

Installation and Use

Download the WP Smush.it plugin and extract in your wp-content/plugins directory. Activate the plugin and you’re done.

WP Smush.it requires WordPress 2.5 or higher.

fopen Errors

WP Smush.it currently requires that your PHP setup allows accessing remote URLs using fopen. See the PHP documentation for information, or hang tight… we’ll be updating the plugin soon.

License and contacts

Written by Alex Dunae at Dialect (code[at]dialect[dot]ca), 2008.

WP Smush.it includes a copy of the PEAR JSON library written by Michal Migurski.

Smush.it was created by Nicole Sullivan and Stoyan Stefanov.

WP Smush.it is distributed under the GNU General Public License 3.0.