Image compression for WordPress done right.
Contributors: winsite, maor, amitt
Tags: [image optimization](https://wordpress.org/plugins/tags/image optimization), [image compression](https://wordpress.org/plugins/tags/image compression)
Requires at least: 4.5
Tested up to: 4.8
Stable tag: trunk (master)
License: GPLv2 or later
Winsite Image Optimizer will compress your images for optimal file-size while keeping its quality (pretty much) intact, using the ImageOptim API (and other processing engines coming up soon).
You can also process all of your old images retroactively using our dedicated tool, found under the Media section.
Currently-implemented Image Processing Services:
- ImageOptim (You'll need to obtain an API key)
- Send your suggestions on our GitHub issue tracker.
Warning: This won't work on localhost in some cases, since some services work in a way that they pull images in from your site. This is why you'll need a public URL in order to make this work locally. You can use a service such as ngrok to achieve that, in conjunction with this filter:
add_filter( 'wsi_siteurl_override', function( $siteurl ) { return 'http://ae190611.ngrok.io/path-to-wp-installation/'; } );
We'd love to recieve contributions / suggestions from you on our GitHub project.
- Install the Winsite Image Optimizer Plugin either via the search option inside the WordPress plugins page (located in the toolbar of your admin page), or by uploading the files to your server (in the /wp-content/plugins/ directory).
- Activate the Plugin (Install Now > Activate Plugin)
- Then go to the Winsite Image Optimizer setting section (Settings > Media, under Winsite Image Optimizer section) and then fill in the missing settings (API details).
- Upload images (or retroactively processs images via Media > WS. Image Optimizer) and watch the file size decrease drastically!
- A few bag fixes.
- Bug fix: Fixed issue where attachment metadata would be overriden and cleared when using the Retroactive Generator
- Bug fix: Fixed a UI/UX nuance. Now showing a notice for when a user hasn't set API details.
- Added a bit of fresh salsa sauce
- Bug fix: Fixed issue where JS wasn't loading in back-end, disabling use of the Retroactive Generator. Props @maor
- Improved UX on Retroactive Image Generator page by adding an spinner/indicator when process runs. Props @maor
- Bug fix: Fixed issue where images that got processed would be able to get procesed again with the Retroactive Gen. Props @maor
Allow inputting ImageOptim username via Media settings page. Props @maor
Initial POC built, including some basic Unit Tests. Props @maor