外掛說明
Upload a JSON file generated by Google’s Lighthouse website auditing tool and this plugin will compress and replace all flagged images using the reSmush.it API.
Instructions
- Run Lighthouse on the page of your website you want to optimize images. The easiest way to do this is using Chrome Developer Tools, but you may also utilize the Lighthouse Chrome Extension or run an audit on the command line using Node.
- Download the report as a JSON file.
- In the WordPress Dashboard, navigate to
Media -> Lighthouse Image Optimizer
, upload the JSON file and click “Optimize Images.”
螢幕擷圖
使用者評論
2019 年 8 月 5 日
1 則留言
You can add more images to the JSON and this plugin will do the rest 🙂
Tested on WP 5.2.2
參與者及開發者
變更記錄
1.01
- Tested up to WordPress 5.1
1.0
- Release