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