开发者 | geckodesigns |
---|---|
更新时间 | 2015年1月22日 03:58 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.