Compress JPEG & PNG images

Wordpress Plugin
Download latest - 3.4.1

Developers

Tinify
TinyPNG

Download Stats

Today 449
Yesterday 750
Last Week 4,566
All Time 946,191
Banner 772x250

Make your website faster by optimizing your JPEG, PNG, and WebP images. This plugin automatically optimizes all your images by integrating with the popular image compression services TinyJPG and TinyPNG.

Features

  • Automatically optimize new images on upload.
  • Advanced background optimization to speed up your workflow.
  • Optimize individual images already in your media library.
  • Easy bulk optimization of your existing media library.
  • Automatically resize huge image uploads by setting a maximum width and/or height for more reasonable browser display.
  • Display JPEG images more quickly with progressive JPEG encoding.
  • Chose to preserve copyright metadata, creation date and GPS location in your original images.
  • Supports compression of animated PNG.
  • Select which thumbnail sizes of an image may be optimized.
  • Multisite support with a single API key.
  • WPML compatible.
  • WooCommerce compatible (see below).
  • WP Retina 2x compatible.
  • See your usage on the settings page and during bulk optimization.
  • Color profiles are automatically translated to standard RGB color.
  • Convert CMYK to RGB to save more space and add compatibility.
  • Dashboard widget with your total savings.
  • Optimize and resize uploads with the WordPress mobile app.

How does it work?

After you upload an image to your WordPress site, each resized image is uploaded to the TinyJPG or TinyPNG service. Your image is analyzed to apply the best possible optimization. Based on the content of your image an optimal strategy is chosen. The result is sent back to your WordPress site and will replace the original image with one smaller in size. On average JPEG images are compressed by 40-60% and PNG images by 50-80% without visible loss in quality. Your website will load faster for your visitors, and youll save storage space and bandwidth!

Getting started

Install this plugin and follow the instructions to set up your account. With a regular WordPress installation you can optimize roughly 100 images each month for free. The exact total depends on the number of thumbnail sizes that are in use in your WordPress installation. You can change which of the generated thumbnail sizes should be optimized on the Settings > TinyPNG - JPEG, PNG & WebP image compression page. Once installed you can also switch to a paid account which removes the limits and allows you to optimize as many images as you like.

Optimizing all your images

You can bulk optimize your existing JPEG, PNG, and WebP images all at once by going to Media > Bulk Optimization. Clicking on the big button will start optimizing all unoptimized images in your media library.

Multisite support

The plugin is fully multisite compatible and you can set the API key for all sites by defining the key in your wp-config.php file. View the installation instructions for more information.

WooCommerce compatibility

This plugin is fully compatible with WooCommerce. However, we have discovered that WooCommerce may be trying to regenerate image attachment metadata over and over again on each page visit. If you are using WooCommerce please follow the tips from the support section. This may make your WooCommerce shop even faster than it was before.

Contact us

Got questions or feedback? Let us know! Contact us at support@tinypng.com or find us on Twitter @tinypng.

Contributors

Want to contribute? Check out the Tinify Wordpress plugin on GitHub.


Releases (32 )

Version Release Date Change Log
3.4.1 2022-09-06
  • Fixed a bug that sometimes prevented failing requests to the Tinify servers from being retried.
3.4 2022-07-15
  • Correct filesize metadata retrieval for compressed images in WordPress 6.
  • Updated WordPress compatibility.
3.3 2022-01-26
  • You can now optimise WebP images, in addition to JPEG and PNG.
3.2.1 2020-03-19
  • Fixed bug that caused the original version of images that started with a special character to not be compressed.
  • Updated Wordpress compatibility.
3.2.0 2019-02-28
  • Support for WP Retina 2x Pro.
  • More capability checks for extra security.
  • Less resource intensive AJAX requests.
  • Fixed CSS issues from Analytify plugin.
  • Removed legacy Enhanced Media Library compatibility.
3.1.0 2018-11-09
  • Remaining free compressions shown in settings page.
  • Easier way to upgrade a free account.
  • WPML and WPML Media compatibility in collaboration with the authors of WPML. Make sure to upgrade WPML to version 4.1.
  • Added a notice to the Bulk Optimization page for free accounts with not enough available free compressions.
  • Added a new hook after compression of an image useful for CDN cache flushing.
3.0.1 2018-09-06
  • Fixed bug that caused an error when registering a new account.
  • No longer use create_function, which is deprecated in PHP 7.2. The plugin no longer supports PHP 5.2.
  • Rephrased incompatible plugins notice to avoid confusion.
3.0.0 2018-07-31
  • Compress new images in the background to speed up your workflow.
  • Turbo-charged Bulk Optimization page with simultaneous image compression.
  • Improved memory usage for installations with extreme media libraries.
  • Detection of incompatible plugins.
  • Fallback to fopen whenever the curl_exec function is disabled.
  • Additional notices for WP Offload S3 users.
  • Several minor fixes and tweaks.
2.2.6 2017-11-09
  • Fixed bug in compression of file types other than JPEG and PNG that have a thumbnail generated automatically.
2.2.5 2017-09-15
  • Fixed bug in bulk optimization page that could sometimes cause it to stop.
  • Fixed a problem that would prevent dashboard widget from loading.
  • Tweaked styling of the dashboard widget for the latest version of WordPress.
  • Fixed a warning that sometimes occurred in the media library when certain plugins are used.
2.2.4 2017-07-13
  • Fixed bug with drop-down menu in the Media Library.
  • Compression limit notice now links directly to your API dashboard.
  • Tweaked styling of the dashboard widget.
2.2.3 2017-06-19
  • Website link now goes directly to your dashboard
  • Fixed compression issue for some fopen users.
2.2.2 2017-02-24
  • Improved robustness in case an unexpected network error occurs.
  • Fixed false positive warning with Sucuri scanner.
  • Fixed compression issue for fopen users.
2.2.1 2017-01-31
  • Fixed an error that was introduced in v2.2.0 where all custom image sizes did not show up.
  • Added support for image sizes with unspecified height or width.
2.2.0 2017-01-30
  • New dashboard widget that shows your media library savings.
  • Support compressing medium_large image sizes.
2.1.0 2016-09-09
  • Compression of retina images generated by WP Retina 2x.
  • Solved a bug which caused the API key to be cleared on the settings page.
  • Fixed an error that occurred with some PHP 7 installations.
  • Fixed an fopen error when preserving metadata.
2.0.2 2016-07-19
  • Faster Bulk Optimization page with reduced memory usage (thanks to @esmus).
  • Fixed XML-RPC error (thanks @ironmanixs, @gingerdog, @quicoto and @isaumya).
2.0.1 2016-07-16
  • Fixed a bug when searching from the admin interface (thanks to @bapcsuk).
2.0.0 2016-07-15
  • Completely new Bulk Optimization page.
  • Better detection of image sizes with duplicate filenames.
  • Simplified account activation and API key creation.
  • Fix to the bottom drop-down menu in the Media Library.
  • Use the latest PHP client library for connecting to TinyJPG and TinyPNG.
  • Added fallback to fopen for older systems running PHP 5.2.
1.7.2 2016-04-11
  • Show more information about compressed/uncompressed image sizes in details popup.
  • Add compression details to image overview.
1.7.1 2016-04-01
  • Option to preserve gps location and original creation date and time in your original JPEG images.
  • Option to preserve coyright information in your original PNG images.
  • Improved handling of unsupported image files (e.g. GIF)
1.7.0 2016-02-24
  • Option to preserve copyright information in your original JPEG images.
  • Added proxy support for cURL.
  • Added support for translate.wordpress.org plugin translations.
1.6.0 2016-01-12
  • Improved compression status in the Media Library with new details window.
  • Show total compression savings on the Media Settings page with link to bulk compression page when no images have been compressed yet.
  • Moved Compress All Images from the Tools to the Media menu.
1.3.1 2015-12-24
  • Media library now shows when files are in the process of being compressed.
1.5.0 2015-11-24
  • Resize original images when compressing. Set a maximum width and/or height and your original images will be scaled down in case they are bigger.
  • Added support for the mobile WordPress app (thanks to David Goodwin).
1.4.0 2015-11-19
  • Added indication of number of images you can compress for free each month.
  • Added link to settings page from the plugin listing.
  • Added clarification that by checking the original image size your original images will be overwritten.
1.3.2 2015-10-06
  • In some cases a user would have different file sizes defined in Settings > Media which have the exact same pixel dimensions. Compressing images could then occasionally result in compressing the same image multiple times without being seen as 'compressed'. We now detect duplicate file sizes and don't compress them again.
1.3.0 2015-05-19
  • Improved bulk compressions from media library. You can now also bulk compress your whole media library in one step.
  • Intelligent detection if file is already compressed or was altered by another plugin and should be recompressed.
1.1.0 2015-04-25
  • The API key can now be set with the TINY_API_KEY constant in wp-config.php. This will work for normal and multisite WordPress installations.
  • You can now enable or disable compression of the original uploaded image. If you upgrade the plugin from version 1.0 you may need to go to media settings to include it for compression.
  • Improved display of original sizes and compressed sizes showing the total size of all compressed images in media library list view.
1.2.0 2015-04-25
  • Display connection status and number of compressions this month on the settings page. This also allows you to check if you entered a valid API key.
  • Show a notice to administrators when reaching the monthly compression limit (in case you're on a fixed or free plan).
  • The plugin will now work when php's parse_ini_file is disabled on your host.
  • Bugfix that avoides a warning when no additional image sizes can be found in the metadata.
1.2.1 2015-04-25
  • Bugfix that prevents recompressing the original when no additional image sizes can be found in the metadata. (introduced in 1.2.0)
1.0.0 2015-04-25
  • Initial version.