开发者 | TinyPNG |
---|---|
更新时间 | 2024年11月18日 15:44 |
捐献地址: | 去捐款 |
PHP版本: | 3.4 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
tiny-compress-images
directory to your /wp-content/plugins/
directory, using your favorite method (ftp, sftp, scp, etc...)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.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.
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.
A: When you remove the plugin all your optimized images will remain optimized.
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.
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).
A: Yes, there are no limitations. You can add the same key everywhere.
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.
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.
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.
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.