描述
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 reply
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