wp-smushit
Last commit date
JSON
17 years ago
bulk.php
14 years ago
license.txt
17 years ago
readme.txt
13 years ago
screenshot-1.jpg
17 years ago
settings.php
14 years ago
wp-smushit.php
13 years ago
readme.txt
175 lines
| 1 | === WP Smush.it === |
| 2 | Plugin Name: WP Smush.it |
| 3 | Version: 1.6.2 |
| 4 | Author: Dialect |
| 5 | Author URI: http://dialect.ca/?wp_smush_it |
| 6 | Contributors: alexdunae, WPMUDEV |
| 7 | Tags: images, image, attachments, attachment |
| 8 | Requires at least: 2.9 |
| 9 | Tested up to: 3.3.2 |
| 10 | Stable tag: 1.6.2 |
| 11 | |
| 12 | Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress. |
| 13 | |
| 14 | == Description == |
| 15 | |
| 16 | = Dear Smushers: WP Smush.it has found a new maintainer. Stay tuned for a fresh release. = |
| 17 | |
| 18 | Yahoo's excellent <a href="http://developer.yahoo.com/performance/">Exceptional Performance series</a> recommends <a href="http://developer.yahoo.com/performance/rules.html#opt_images">optimizing images</a> in several lossless ways: |
| 19 | |
| 20 | * stripping meta data from JPEGs |
| 21 | * optimizing JPEG compression |
| 22 | * converting certain GIFs to indexed PNGs |
| 23 | * stripping the un-used colours from indexed images |
| 24 | |
| 25 | <a href="http://smush.it/">Smush.it</a> offers an API that performs these optimizations (except for stripping JPEG meta data) automatically, and this plugin seamlessly integrates Smush.it with WordPress. |
| 26 | |
| 27 | = How does it work? = |
| 28 | 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. |
| 29 | |
| 30 | = Existing images = |
| 31 | 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. |
| 32 | |
| 33 | As of version 1.4.0 there is a new, experimental `Bulk Smush.it` feature. You can find the link under the `Media Library` tab. |
| 34 | |
| 35 | = Errors = |
| 36 | |
| 37 | Sometimes the Smush.it service goes down or is under heavy load. If the plugin has difficulty connecting to Smush.it then automatically smushing is temporarily disabled (currently for 6 hours). You can always re-enable it via the `Media > Settings` screen or manually smush the image from the Media Library. |
| 38 | |
| 39 | = NextGEN Gallery = |
| 40 | NextGEN user? Also download the <a href="http://wordpress.org/extend/plugins/wp-smushit-nextgen-gallery-integration/">WP Smush.it NextGEN Integration</a> plugin. |
| 41 | |
| 42 | = Privacy = |
| 43 | Be sure you’re comfortable with Smush.it’s privacy policy (found on their <a href="http://info.yahoo.com/legal/us/yahoo/smush_it/smush_it-4378.html">FAQ</a>). |
| 44 | |
| 45 | == Screenshots == |
| 46 | |
| 47 | 1. See the savings from Smush.it in the Media Library. |
| 48 | |
| 49 | == Installation == |
| 50 | |
| 51 | 1. Upload the `wp-smushit` plugin to your `/wp-content/plugins/` directory. |
| 52 | 1. Activate the plugin through the 'Plugins' menu in WordPress. |
| 53 | 1. Automatic smushing of uploaded images can be controlled on the `Settings > Media` screen |
| 54 | 1. Done! |
| 55 | |
| 56 | == Upgrade Notice == |
| 57 | |
| 58 | = 1.6.2 = |
| 59 | |
| 60 | Dear Smushers: WP Smush.it has found a new maintainer. Stay tuned for a fresh release. |
| 61 | |
| 62 | == Changelog == |
| 63 | |
| 64 | = 1.6.2 = |
| 65 | * about to get a new lease on life notice |
| 66 | |
| 67 | = 1.6.1 = |
| 68 | * no longer maintained notice |
| 69 | |
| 70 | = 1.6.0 = |
| 71 | * added setting to disable automatic smushing on upload (default is true) |
| 72 | * on HTTP error, smushing will be temporarily disabled for 6 hours |
| 73 | |
| 74 | = 1.5.0 = |
| 75 | * added basic integration for the <a href="http://wordpress.org/extend/plugins/wp-smushit-nextgen-gallery-integration/">NextGEN gallery plugin</a> |
| 76 | * add support for media bulk action dropdown |
| 77 | * compatibility with WordPress earlier than 3.1 |
| 78 | * added a <a href="http://dunae.ca/donate.html">donate link</a> |
| 79 | |
| 80 | = 1.4.3 = |
| 81 | * cleaner handling of file paths |
| 82 | |
| 83 | = 1.4.2 = |
| 84 | * bulk smush.it will no longer re-smush images that were successful |
| 85 | |
| 86 | = 1.4.1 = |
| 87 | * bug fixes |
| 88 | |
| 89 | = 1.4.0 = |
| 90 | * bulk smush.it |
| 91 | |
| 92 | = 1.3.4 = |
| 93 | * bug fixes |
| 94 | |
| 95 | = 1.3.3 = |
| 96 | * add debugging output on failure |
| 97 | |
| 98 | = 1.3.2 = |
| 99 | * removed realpath() call |
| 100 | * IPv6 compat |
| 101 | |
| 102 | = 1.3.1 = |
| 103 | * handle images stored on other domains -- props to [ka-ri-ne](http://wordpress.org/support/profile/ka-ri-ne) for the fix |
| 104 | * avoid time-out errors when working with larger files -- props to [Milan Dinić](http://wordpress.org/support/profile/dimadin) for the fix |
| 105 | |
| 106 | = 1.2.10 = |
| 107 | * removed testing link |
| 108 | |
| 109 | = 1.2.9 = |
| 110 | * updated Smush.it endpoint URL |
| 111 | |
| 112 | = 1.2.8 = |
| 113 | * fixed path checking on Windows servers |
| 114 | |
| 115 | = 1.2.7 = |
| 116 | * update to workaround WordPress's new JSON compat layer (see [trac ticket](http://core.trac.wordpress.org/ticket/11827)) |
| 117 | |
| 118 | = 1.2.6 = |
| 119 | * updated Smush.it endpoint URL |
| 120 | * fixed undefined constant |
| 121 | |
| 122 | = 1.2.5 = |
| 123 | * updated Smush.it endpoint URL |
| 124 | |
| 125 | = 1.2.4 = |
| 126 | * removed debugging code that was interfering with the Flash uploader |
| 127 | |
| 128 | = 1.2.3 = |
| 129 | * bug fix |
| 130 | |
| 131 | = 1.2.2 = |
| 132 | * updated to use Yahoo! hosted Smush.it service |
| 133 | * added security checks to files passed to `wp_smushit()` |
| 134 | |
| 135 | = 1.2.1 = |
| 136 | * added support for PHP 4 |
| 137 | * created admin action hook as workaround to WordPress 2.9's `$_registered_pages` security (see [changeset 11596](http://core.trac.wordpress.org/changeset/11596)) |
| 138 | * add savings amount in bytes to Media Library (thx [Yoast](http://www.yoast.com/)) |
| 139 | |
| 140 | = 1.2 = |
| 141 | * added support for `WP_Http` |
| 142 | |
| 143 | = 1.1.3 = |
| 144 | * fixed activation error when the PEAR JSON library is already loaded |
| 145 | |
| 146 | = 1.1.2 = |
| 147 | * added test for `allow_url_fopen` |
| 148 | |
| 149 | = 1.1.1 = |
| 150 | * added error message on PHP copy error |
| 151 | |
| 152 | = 1.1 = |
| 153 | * improved handling of errors from Smush.it |
| 154 | * added ability to manually smush images from media library |
| 155 | * fixed inconsistent path handling from WP 2.5 -> WP 2.7 |
| 156 | |
| 157 | = 1.0.2 = |
| 158 | * added 'Not processed' status message when browsing media library |
| 159 | |
| 160 | = 1.0.1 = |
| 161 | * added i10n functions |
| 162 | |
| 163 | = 1.0 = |
| 164 | * first edition |
| 165 | |
| 166 | |
| 167 | == Contact and Credits == |
| 168 | |
| 169 | Written by Alex Dunae at Dialect ([dialect.ca](http://dialect.ca/?wp_smush_it), e-mail 'alex' at 'dialect dot ca'), 2008-11. |
| 170 | |
| 171 | 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. |
| 172 | |
| 173 | Smush.it was created by [Nicole Sullivan](http://www.stubbornella.org/content/) and [Stoyan Stefanov](http://phpied.com/). |
| 174 | |
| 175 |