This plugin allows you to optimize and resize new and existing WordPress image uploads through Kraken.io Image Optimizer’s API. Both lossless and intelligent lossy optimization modes are supported. Supported filetypes are JPEG, PNG and GIF (including animated GIF). Maximum filesize limit is 32 MB. Even when using Kraken.io’s lossy optimization, our system goes the extra mile to ensure that the results are of high quality, every time. You can just install the plugin and stop worrying.
For more details, including detailed documentation and plans and pricing, please visit Kraken.io.
Get your FREE account with us, or a subscription starting from just USD $5 per month
Sign up for your FREE Kraken.io Account and try out our plugin with and the rest of our features now, including:
- 100MB of free testing quota
- API Access, with dozens of ready-to-use libraries and modules
- Web Interface PRO with Image Resizing and sync-to-Dropbox
- URL Paster
- Page Cruncher
- Optimization Stats and History
- …and more.
Quick start tutorial:
About the plugin
- You can use your Kraken.io API key and secret on as many sites/blogs as you like. We have no per-site license.
- All images uploaded throught the media uploader are optimized on-the-fly. All generated thumbnails are optimized too.
- The main image upload can be optionally resized – this is useful for preventing user uploads with unnecessarily large dimensions. You can specify the maximum width and/or height in Kraken.io->Settings.
- When restricting the maximum dimensions of the main image using the resizing feature, the resulting image is enhanced using various advanced techniques, to help prevent downsample artifacts and “haloing” and produce a sharper result.
- You can optionally preserve one or more of the Date, Copyright, Geotag, Orientation, Profile EXIF metadata tags.
- Images can be automatically oriented according to their EXIF Orientation value – no need to manually rotate images.
- All images already present in the media library can be optimized individually, or using the Bulk Action menu “Krak ‘em all” feature.
- This plugin does not require any root or command-line access. No compilation and installation of any binaries is necessary.
- All optimization is carried out by sending images to Kraken.io’s infrastructure, and pulling the optimized files to your WordPress installation.
- To use this plugin, you must obtain a full API key and secret from https://kraken.io/plans. Our free account comes with a limited quota for testing our premium features, including this plugin.
- Works great with WPEngine hosted blogs, including the staging area.
- Since version 1.0.4, the plugin will work with local WordPress installations; the client site does not need to be published on the web.
★★★★★ Excellent Option for Image Optimization
“The real power of Kraken is their “intelligent lossy” optimization. I use it on all my sites and have never once needed to roll back an image because of too much quality degredation. While I hope to see some more advanced settings added to the WordPress plugin in the future, it is a perfect solution as is.” – collin
★★★★★ Quality results, quality service
“The plugin works really well and effortlessly, and the support is prompt, thoughtful, and thorough. I’m hooked.” — illustrata
★★★★★ Optimize according to Google Pagespeed
“Kraken was instrumental in optimizing images to comply with Google’s Pagespeed analyzing tool. Our travel blog travelmemo.com now sports Google’s ‘mobile friendly’ tag for mobile searches” — Walter Schaerer
★★★★★ Perfect solution to speed up site!
“I love this plugin! All the questions I had are quickly responded to and I see a huge saving with image size without losing the quality. I highly recommend this plugin!” — ezone69
Once you have obtained your credentials, from your WordPress admin, go to the Kraken.io settings page. The from there you can enter your API credentials, and select your optimization preferences. Once you have done this, click on Save. If everything is in order, it will simply say “settings saved” and give you a reassuring green tick that your credentials are valid. You can now start optimizing images from within Media Library. Any image you upload from now on, through any of the media upload screens will be optimized on-the-fly by Kraken.io.
For advanced users, there is a third party WordPress Command Line Interface (CLI) tool to allow image optimization from the command line, or by using cron. For details, visit: https://github.com/tillkruss/wp-cli-kraken
Please send bug reports, problems, feature requests and so on to support (at) Kraken dot io, or directly to the author of this plugin.
Connect with Kraken.io
Notes and Incompatible plugins
If you use the WP Super Cache plugin, you must disable the plugin prior to performing any image optimization, as it is known to cause strange and buggy behaviour with the Kraken.io Image Optimizer plugin.
We love to hear from you! Just shoot an email to email@example.com and let’s talk.
To install the Kraken.io WordPress Plugin:
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Enter your Kraken.io API key and secret into the new Kraken.io Settings section of Settings->Media.
- Any images you upload from now on using WordPress’s Media Upload will be optimized according to your settings. Auto-generated thumbnails will also be optimized.
- Images already present can be optimized from within the Media Library.
Can I test the plugin before I purchase an account from Kraken.io?
Yes you can. All of our plans require that you first create your free Kraken.io account. No credit card is required, and we give you free testing quota of 50 MB, with which you can test all the features we offer, including this plugin.
Additionally, if you would like to test the performance and results of Kraken.io Image Optimizer, you can try the free Web Interface at https://kraken.io/web-interface which does not require any registration.
Where can I purchase an API key and secret?
From our plans page, right here. In addition to being able to use our WordPress Plugin, you can also use the API in your own applications, and take advantage of our Web Interface PRO feature (and much more!) for as little as USD $5 per month.
Will the optimized images remain on my blog if I uninstall the plugin?
Yes, of course they will. Our plugin simply replaces the image files on your blog with the ones optimized by us.
Where can I find the option to optimize my Media Libary images?
You will need to switch the Media Library from the Grid view to the List view. In the “Kraked Size” column, you will then see the “Optimize This Image” button for unoptimized images, or the results of the optimization where the image has already been optimized by our plugin.
Col·laboradors i desenvolupadors
«Kraken.io Image Optimizer» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.Col·laboradors
Interessats en el desenvolupament?
Registre de canvis
- Security release – added nonce checking to “reset all metadata” feature in Settings->Kraken.io.
- Security release – added more escape mechanisms just to be sure.
- Security release to solve https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38454
- Security and maintenance release
- Security and maintenance release
- Verified the plugin’s compatibility with PHP 7 and WordPress 4.9
- Fixed a rare bug which prevented filepaths containing double-forward-slashes from getting optimized.
- Bug fixes related to new features
- Added ability to choose which post sizes get optimized (defaults to all)
- Added ability to change the chroma subsampling scheme for JPEG images (defaults to 4:2:0)
- Stability and compatibility improvements
- Various frontend CSS fixes and improvements
- WordPress version compatibility bumped to 4.6
- Fix fatal error on older PHP versions resulting from recent PHP array syntax
- Ability to disable optimization of main image, allowing faster uploads from Media Library. You can optimize the main image later from within your Media Library.
- Ability to restrict the maximum dimensions of image uploads (resizing), by width and/or height.
- When using resize feature, resized images are enhanced for sharper results using various advanced techniques.
- Ability to force JPEG quality to a discrete “quality” value, for greater savings if you know what you’re doing.
- Ability to preserve certain EXIF metadata tags, including Date, Copyright, Orientation, Geotag and Profile.
- Ability to automatically orient images according to their Orientation EXIF metadata.
- Improvements and simplifications to interface elements and Kraken.io Settings page.
- Please read! Kraken.io settings have now moved to an own section (Settings->Kraken.io), in order to reduce clutter in Media Settings, and to accomodate new features on the way.
- Advanced settings grouped in “Advanced Settings” section of settings page.
- Direct link to Kraken.io settings from Kraken.io in the plugins section.
- Updated screenshots.
- WordPress version compatibility bumped to 4.2.
- Fixed another reported bootstrap CSS conflict.
- Fixed potential conflict with Bootstrap Modal on blogs using Twitter Bootstrap.
- Better bundling of scripts for faster loading of the plugin.
- Added the ability to control the number of images the bulk tool optimizes at once. The default settings of 4 is recommended. Blogs with limited resources, for example those on small shared hosting plans should try a lower value if they run into issues with bulk optimization. Blogs on larger hosting plans can experiment with higher values.
- Added the ability to reset (or remove Kraken.io metadata) from individual images or all images at once, allowing further optimization in certain cases, for example, reoptimizing a previously losslessly optimized image as lossy.
- Better error handling.
- Cleanup release prior to major feature release. Paved the way for “reset” feature, and more.
- Added tags.
- Better debugging for customers by including WordPress version and Kraken.io plugin version per request.
- Added ability to disable automatic optimization of uploads.
- Rolled back to old way of replacing images in light of reported issues.
- Fixed potentially breaking change to do with new PHP syntax.
- More reliable handling of image fetching and overwriting.
- Fixed broken spinner by updating the URL to our new CDN.
- Added link to WP-CLI tools to readme.
- Removed hack which allows uploading of filenames with non-Latin alphabet, since Kraken.io API now supports it.
- Updated readme with information about free account.
- Tested with WordPress 4.1.
- Better naming convention for temporary files created.
- Updated readme.txt
- Fixed CURL issues related to latest PHP versions.
- Can now optimize filenames with non-Latin alphabet (such as Germanic umlauts, Cyrillic alphabet, etc).
- Performance improvement when optimizing through Media Library or using the bulk optimizer.
- CURL not present warning in Media Settings page.
- Stability and reliability improvements.
- Utilizes Kraken.io’s upload API instead of URL. Images are uploaded to Kraken.io from WordPress installations, rather than fetched by Kraken.
- Now works will local WordPress installations since hosted images are no longer fetched by URL, but uploaded by the client blog.
- Performance improvements.
- Bug and cleanup release prior to next feature release (Amazon S3 support, in the near future).
- Fixed bug related to SSL certificates on some blogs.
- Fixed bug causing preventing WPEngine users from copying live site to and from staging.
- Increased HTTP timeouts for users with extremely large numbers of thumbnails.
- Fixed issue preventing optimization of images on WordPress installations using relative image URIs. One plugin which used to cause this problem is Root Relative URLs by Marcus E. Pope.
- Fixed bug related to storing optimized thumbnails metadata.
- When using the Regenerate Thumbnails plugin with kraked images, meta data is now correctly updated per image.
- Optimization mode (lossy/lossless) is now stored with kraken.io thumbnail metadata (for future Stats page).
- Bulk Actions menu in Media Library is now extended with “Krak ‘em all”, our Bulk Optimization feature.
- Fixed a bug which caused old images’ thumbnails to not be optimized.
- Fixed a failure condition which occured only on WPEngine-hosted systems.
- Fixed bug which led to kraked file not being retrieved in rare cases.
- Increase ajax timeout for media library inline kraking to be kinder to slower WordPress blogs.
- Thumbnails are now optimized when triggering an image optimization from within the media library.
- Number of Kraked thumbnails is now shown in media library in “Kraked Size” column.
- “Failed! Hover here” error notification does not persist where an image was not optimized. It goes away after page refresh.
- Optimize Image button no longer shown for incompatible media types.
- Information about thumbnail optimization is persisted for future fun-stats page/widget.
- Minor CSS tweaks.
- Minor cleanup release.
- First version. Supports lossy and lossless optimization of JPG, PNG and GIF (including aniGIF) image formats
- Hooks to Media Uploader to optimize all uploaded images, including generated thumbnails.
- Allows optimization of existing images in WordPress Media Library.