Your images are bigger than they need to be
Every image uploaded to WordPress is stored exactly as-is. No compression. No optimization. A 3MB JPEG straight from a camera or design tool stays 3MB forever.
Multiply that across hundreds of uploads over a few years and your media library is quietly adding seconds to every page load. Core Web Vitals suffer. Visitors bounce. Google notices.
What most people do instead
The usual fixes all come with trade-offs.
A better way: compress everything in one command
Open the TrueCommander navigator. Type optimize images. Hit enter.
The command scans your JPEG and PNG files, compresses each one using PHP's built-in GD library, and replaces the original only if it's at least 5% smaller. Nothing leaves your server. No API keys. No subscriptions.
Nothing leaves your server. Compression runs locally using PHP's GD extension. Your images are never sent to a third-party API.
How it works
Three steps. No configuration required.
-quality=75 for stronger compression, -webp for WebP copies| Detail | Value |
|---|---|
| Command name | optimize images |
| Formats | JPEG and PNG |
| Default quality | 82 (adjustable 60-95) |
| Batch size | 50 images per run |
| Skip threshold | Less than 5% savings = skipped |
| WebP flag | -webp generates sidecar WebP copies |
| Auto-WebP toggle | -toggle-auto-webp for future uploads |
| Can be used in |
Real example
You migrated a 4-year-old WooCommerce store to new hosting. The uploads folder is 6.2 GB across 1,400 product images. None were ever compressed.
You run optimize images -webp. First batch: 50 images processed, 42 optimized, average reduction 38%. The other 8 were already small enough.
You run it again. Another 50. Again. After 28 runs over a lunch break, every image in the library is compressed and has a WebP sidecar ready to serve.
Total uploads folder: 6.2 GB down to 3.8 GB. Page speed score jumps 12 points. No content changed. No URLs broke.
Goes further with TrueCommander
One-off compression is useful. Automated compression is better.
Featured in:The 15-minute weekly maintenance routine and WooCommerce pre-launch checklist.