WP Manifestindependent plugin directory
manifest / media / lean-uploads

Lean Uploads

WordPress plugin that compresses JPEG, PNG, and WebP on upload without changing the file extension.

by Adam Selwon · github.com/aselwon/lean-uploads · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/aselwon/lean-uploads/archive/refs/heads/main.zip

Readme

Lean Uploads

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

  1. Copy the lean-uploads folder to wp-content/plugins/.
  2. Activate Lean Uploads in wp-admin.
  3. New files: Media → Add New.
  4. 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

Read the full README on GitHub →