=== WP Smush.it ===
Plugin Name: WP Smush.it
Version: 1.2.2
Author: Dialect
Author URI: http://dialect.ca/?wp_smush_it
Contributors: alexdunae
Tags: images, image, attachments, attachment
Requires at least: 2.5
Tested up to: 2.8.2
Stable tag: 1.2.2
Reduce image file sizes and improve performance using the Smush.it API within WordPress.
== Description ==
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.*
= Existing images =
You can also run your existing images through Smush.it via the WordPress `Media Library`. Click on the `Smush.it now!` link for any image you'd like to smush.
= Privacy =
Be sure you’re comfortable with Smush.it’s privacy policy (found on their FAQ).
= Updates, etc... =
Plugin updates are announced on [http://www.twitter.com/TheCHANGELOG](http://www.twitter.com/TheCHANGELOG).
== Screenshots ==
1. See the savings from Smush.it in the Media Library.
== Installation ==
1. Upload the `wp-smushit` plugin to your `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Done!
== Changelog ==
= 1.2.2 =
* updated to use Yahoo! hosted Smush.it service
* added security checks to files passed to `wp_smushit()`
= 1.2.1 =
* added support for PHP 4
* created admin action hook as workaround to WordPress 2.9's `$_registered_pages` security (see [changeset 11596](http://core.trac.wordpress.org/changeset/11596))
* add savings amount in bytes to Media Library (thx [Yoast](http://www.yoast.com/))
= 1.2 =
* added support for `WP_Http`
= 1.1.3 =
* fixed activation error when the PEAR JSON library is already loaded
= 1.1.2 =
* added test for `allow_url_fopen`
= 1.1.1 =
* added error message on PHP copy error
= 1.1 =
* improved handling of errors from Smush.it
* added ability to manually smush images from media library
* fixed inconsistent path handling from WP 2.5 -> WP 2.7
= 1.0.2 =
* added 'Not processed' status message when browsing media library
= 1.0.1 =
* added i10n functions
= 1.0 =
* first edition
== Contact and Credits ==
Written by Alex Dunae at Dialect ([dialect.ca](http://dialect.ca/?wp_smush_it), e-mail 'alex' at 'dialect dot ca'), 2008-09.
WP Smush.it includes a copy of the [PEAR JSON library](http://pear.php.net/pepr/pepr-proposal-show.php?id=198) written by Michal Migurski.
Smush.it was created by [Nicole Sullivan](http://www.stubbornella.org/content/) and [Stoyan Stefanov](http://phpied.com/).