Plugin description
Author: | WordPress 智库 (profile at wordpress.org) |
WordPress version required: | 3.7 |
WordPress version tested: | 5.4.15 |
Plugin version: | 1.0.1 |
Added to WordPress repository: | 20-05-2020 |
Last updated: | 20-05-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://wpzhiku.com/ |
Total downloads: | 692 |
Active installs: | 10+ |
Click to start download |
上传时自动压缩优化图片,以通过 PageSpeed Insights 测试。
- 压缩方式为有损压缩,jpeg 质量为 85%,png 质量为 80%。
- 原图会被重命名为 filename.png.orig 的格式
需要在服务器上安装对应的压缩组件才能实现压缩。
CentOS
sudo yum install epel-release jpegoptim optipng pngquant gifsicle libwebp-tools
sudo npm install -g svgo
debian
sudo apt-get install jpegoptim optipng pngquant gifsicle webp
sudo npm install -g svgo
FAQ
ChangeLog