Linux 软件免费装
Banner图

Compress PNG for WP

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

标签

image media upload images png resize shrink jpeg tinypng tinyjpeg

下载

1.0 1.3.3 1.3.4 1.3.5 1.0.1 1.0.2 1.1 1.2 1.3 1.3.1 1.3.2

详情介绍:

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
  1. Visit 'Settings > Media' from the admin dashboard.
  2. Insert your TinyPNG API key and save changes. If you do not yet have a key, get one from TinyPNG. You can also select to auto compress on upload as well as which additional image sizes will be compressed from this page.
  3. Start uploading JPEG/PNG files and they will be automatically resized (if you have chosen to allow auto shrinking on upload in the 'Settings > Media' page).
  4. Visit 'Media > Library' to see information on your resized files or to manually resize existing JPEG/PNG files.
For more information view our Compress PNG for WP page.

安装:

From your Wordpress Dashboard
  1. Visit 'Plugins > Add New'
  2. Search for ‘Compress PNG for WP.
  3. Activate Compress PNG for WP from your Plugins page.
From Wordpress.org
  1. Download Compress PNG for WP.
  2. Upload the gecko-tiny-png folder to your '/wp-content/plugins/' directory.
  3. Activate Compress PNG for WP from your Plugins page.

屏幕截图:

  • Media Library with Compress PNG for WP information column.
  • Media Settings page with Compress PNG for WP settings.

升级注意事项:

1.3 Allows users to compress JPEG images as well as PNG images. This is provided via TinyJPEG(TinyPNG's new project) api. JPEG and PNG compression can now be done at the same time and via the same interface (automatic upload, bulk/single compression). 1.2 Allows users to choose which additional images (thumbnail, medium, large) to compress and only compresses images if not already compressed. 1.1 Allows bulk compression option in Media -> Library page. 1.0.2 This version fixes a various bugs. Upgrade immediately.

常见问题:

Broken Images after Uploading?

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.

After uploading a JPEG/PNG file or manually shrinking, I get an error saying Unauthorized: Credentials are invalid. What is wrong?

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.

Why do I get an error message stating that I have 'Too Many Requests'?

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.

I get an error message sometimes stating; the php curl extension is not enabled. Compress PNG for WP will not be functional without the use of curl, what is wrong?

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.

What additional image sizes (i.e. thumbnail, medium, large..) are compressed?

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.

How can I compress the additional image sizes that WordPress creates?

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.

更新日志:

1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3 1.2 1.1 1.0.2 1.0.1 1.0