Linux 软件免费装
Banner图

TinyPNG - JPEG, PNG & WebP image compression

开发者 TinyPNG
更新时间 2024年9月2日 14:32
捐献地址: 去捐款
PHP版本: 3.4 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

performance compress images compression page speed image size

下载

3.4.4 1.2.0 1.3.0 1.3.1 1.3.2 1.4.0 1.6.0 1.7.0 1.7.1 1.7.2 2.0.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1 2.2.3 2.2.4 2.2.5 2.2.6 3.0.1 3.1.0 3.2.0 3.2.1 1.5.0 2.2.2 3.3 1.0.0 3.4.1 3.4.2 1.1.0 1.2.1 3.0.0 3.4

详情介绍:

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 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 you’ll 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 X: @tinypng. Contributors Want to contribute? Check out the Tinify Wordpress plugin on GitHub.

安装:

From your WordPress dashboard
  1. Visit Plugins > Add New.
  2. Search for 'tinypng' and press the 'Install Now' button for the plugin named 'TinyPNG - JPEG, PNG & WebP image compression' by 'TinyPNG'.
  3. Activate the plugin from your Plugins page.
  4. Go to the Settings > TinyPNG - JPEG, PNG & WebP image compression page and register a new account.
  5. Or enter the API key you got from https://tinypng.com/developers.
  6. Go to Media > Bulk Optimization and optimize all your images!
From WordPress.org
  1. Download the plugin named 'TinyPNG - JPEG, PNG & WebP image compression' by 'TinyPNG'.
  2. Upload the tiny-compress-images directory to your /wp-content/plugins/ directory, using your favorite method (ftp, sftp, scp, etc...)
  3. Activate the plugin from your Plugins page.
  4. Go to the Settings > TinyPNG - JPEG, PNG & WebP image compression page and register a new account.
  5. Or enter the API key you got from https://tinypng.com/developers.
  6. Go to Media > Bulk Optimization and optimize all your images!
Optional configuration The API key can also be configured in your wp-config.php file. To do this you can add the following PHP code that sets the API key. define( 'TINY_API_KEY', 'YOUR_API_KEY_HERE' ); Once set up you will see a message on the Settings > TinyPNG - JPEG, PNG & WebP image compression page. This will work for normal and multisite WordPress installations.

屏幕截图:

  • In the Media Library list view you can see the savings on your images.
  • From the Media Library you can compress individual images and use the Bulk Actions drop-down to quickly optimize multiple images at once.
  • Last but not least you can also use Bulk Optimization to optimize your entire WordPress site.

常见问题:

Q: How many images can I optimize for free?

A: In a default WordPress installation you can optimize around 100 images for free each month. WordPress creates different thumbnails of your images which all have to be compressed. Some plugins even add more sizes, so take a look at the Settings > TinyPNG - JPEG, PNG & WebP image compression page before you start optimization.

Q: How can I remove the 500 limit?

A: Just add your Payment details on your account dashboard to remove the limit. For a small fee the additional compressions above 500 will then be charged to your account at the end of each month.

Q: What happens to the optimized images when I uninstall the plugin?

A: When you remove the plugin all your optimized images will remain optimized.

Q: I don't recall uploading 500 photos this month but my limit is already reached. How is this number calculated?

A: When you upload an image to your website, WordPress will create different sized versions of it (see Settings > TinyPNG - JPEG, PNG & WebP image compression). The plugin will compress each of these sizes, so when you have 100 images and 5 different sizes you will do 500 compressions.

Q: Is there a file size limit?

A: Yes, but they are very generous! The maximum file size is 500MB and the maximum canvas size is 256MP (16000px by 16000px in any ratio).

Q: Can I use the same API key on all my websites?

A: Yes, there are no limitations. You can add the same key everywhere.

Q: Can I hide my API key from the admin?

A: Yes, you can hide your API key from the admin so other admin users will not be able to see it. To do this you should define the API key in your wp-config.php file. See the installation instructions for more information.

Q: What happens when I reach my monthly limit?

A: Everything will keep on working, but newly uploaded images will not be optimized. Of course we encourage everyone to switch to a paid account to cover the hosting and development costs of the service.

Q: Can I optimize all existing images in my media library?

A: Yes! After installing the plugin, go to Media > Bulk Optimization, and click on the start button to optimize all unoptimized images in your media library.

Q: How do I switch to a paid account?

A: You can upgrade to a paid account by adding your Payment details on your account dashboard. Additional compressions above 500 will then be charged at the end of each month as a one-time fee.

更新日志:

3.4.4 3.4.3 3.4.2 3.4.1 3.4 3.3 3.2.1 3.2.0 3.1.0 3.0.1 3.0.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 2.2.1 2.2.0 2.1.0 2.0.2 2.0.1 2.0.0 1.7.2 1.7.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.2 1.3.1 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0