manifest / performance / compress-pics
CompressPics WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
★ 0stars
1.03latest · 3 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/clarifynl/compress-pics/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
CompressPics
A Wordpress plugin to compress png-images.
Requirements
An Ubuntu server with pngquant installed.
Hooks
CompressPics hooks into wpgenerateattachmentmetadata to compress the images once they're saved or updated. Once ResponsivePics resized the images and responsivepicsfilesavedlocal fires, CompressPics will compress the newly generated images.
CLI
It is possible to force a compression through the WP CLI through a set of commands.
To compress the featured image of a post you can insert the post id:
wp cpics compress --post=
To specify which image to compress you can insert the image id:
wp cpics compress --image=
In order to compress all images asociated to a product and its variations insert the product id:
wp cpics compress --product=
Releases
4 releases.
Tag
Published
1.03
latest
Apr 25, 2023 3 years ago
Oct 18, 2022 4 years ago
Oct 17, 2022 4 years ago
Oct 17, 2022 4 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.