Compress PNG files using the TinyPNG API.
Compress PNG for WP allows users to shrink JPEG/PNG files using the TinyPNG API. Files can be automatically resized when uploaded as well as manually resized in the Media Library.
v1.3 Added Support for JPEG Compression via TinyJPEG, Works the same way as PNG files.
How to use Compress PNG for WP
For more information view our Compress PNG for WP page.
From your WordPress Dashboard
From WordPress.org
Yes a recent API update from TinyPNG was causing images sent for compression to be overwritten with 0 size. This has been since fixed in v1.3 but any previously broken images will have to re-uploaded.
Make sure to enter in your API key obtained from TinyPNG into the correct text box in the ‘Settings > Media’ page. If you do not remember your key, you can get it by entering in your email in the ‘Already Subscribed’ box on the TinyPNG Developers page and following the link in the email sent to you.
Each plan with TinyPNG has a limit of monthly requests. For example the free plan only allows 500 requests per month. If you would like to see how many requests you have made or even upgrade your plan, enter in your email in the ‘Already Subscribed’ box on the TinyPNG Developers page. Follow the link in the email that you receive to see your API subscription page.
Compress PNG for WP uses the cURL php extension which most servers should already have installed. If you are receiving this message, check with your hosting provider to see if cURL can be enabled. Read More Here.
As of version 1.2 users can select exactly which additional images that are compressed via the ‘Settings > Media’ page. In version 1.1 only the original file and the large size were compressed. Prior to version 1.1 all images were compressed. However, we found that compressing all images was not efficient and many users were running out of their monthly TinyPNG credits. Since version 1.2 users get the best of both worlds, just remember each additional file size will reduce your TinyPNG monthly credits.
You can select which additional image size to compress via the ‘Settings > Media’ page. Just select the image sizes and compress your image again in the Library page.
Note: When compressing an image that was originally compressed in a version prior to 1.2, initially any previously compressed images will be compressed again. However, subsequent compressions will only compress images that have not yet been compressed.