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/aselwon/lean-uploads/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.
WordPress plugin that compresses images on upload and can also process files already in the Media Library. Same file extension, quality around 78% (75–80%). JPEG, PNG and WebP. GIF and SVG are left untouched.
What it does
- New uploads: original is recompressed once; new thumbnails are saved at quality 78.
- Existing images: hover Optymalizuj on the Media list, the button in attachment details, the bulk action, or Tools → Lean Uploads.
- Skips the save when the file would not get smaller.
- Media Library column shows bytes saved.
It does not convert PNG → JPEG or JPEG → WebP. The uploaded format stays the format.
Install
- Copy the
lean-uploadsfolder towp-content/plugins/. - Activate Lean Uploads in wp-admin.
- New files: Media → Add New.
- Old files: select in Media and use the bulk action, or run Tools → Lean Uploads.
Requires WordPress 6.0+, PHP 7.4+, and GD or Imagick.
License
GPL-2.0-or-later