该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

TinyPNG for WordPress

描述

This is not the official plugin for TinyPNG. Please go to the following link for the official plugin – https://wordpress.org/plugins/tiny-compress-images/

This is a WordPress Plugin used to connect with the TinyPNG.com API and optimize/reduce the size of your PNG file on the go. Its fast and reliable.

Instructions on How to Use:

  1. Put in the correct email address and the TinyPNG API Key associated with it. (If you haven’t made one yet, you can visit this link to make one – https://tinypng.com/developers )

  2. Upload the PNG file using the uploader. As soon as the uploading finishes, the plugin will connect to the TinyPNG API and get you the Optimized image. (The files uploaded and optimized are saved in the TInyPNG folder in the main wordpress media folder. For eg – /wp-content/TinyPNG )

Note :- Because of too much work and less of time, I am not able to work on this plugin much. I asure of you testing it in all WordPress Platforms, but any updates on its features wont be possible before July. Sorry for the inconvenience.

屏幕截图

  • Just upload upto 5 images. Wait for a few seconds till upload finishes. Your done.

安装

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

常见问题

1. How to get the API Key?

You can get the API Key of TinyPNG from the following link (An email will be sent with a link. Click on it and you’ll be redirected to a page where you’ll get the API Key).

2. How to check the no. of images left that can be uploaded till the end of the month?

In the link ( https://tinypng.com/developers ), You’ll see a ‘Already Subscribed?’ box, write your email address there. An email will be sent, click on the link that you received and you’ll be redirected to your subscription page
Note : At first, you get a free subscription that gives you a limit upto 500 images. You can even get more images by paying a small amount to TinyPNG.

The rest is easy to understand. If you still have problems, Contact me at animeonfire@gmail.com . Please write the subject of the email in this form ‘TinyPNG: Your Issues/etc’

评价

2023 年 5 月 25 日
Uploading images to the media library does not function properly. That's the reason we installed it. It would be highly appreciated if future versions addressed this issue. The lack of support is also unexpected, especially considering it is a paid service. It better to use online jpeg compressor tool.
2016 年 9 月 3 日
Doesn't work when uploading images to media library. Which is why we installed it, it would be great if future versions had this? Support non existed as well, which is surprising for a paid service? Will stick with http://compressjpeg.com/
阅读所有5条评价

贡献者及开发者

“TinyPNG for WordPress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“TinyPNG for WordPress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 0.2

  1. Removed Email (wasn’t required)
  2. Fixed compatibility with 4.1