Betav1.8.8

LW Img

Converts uploads to WebP through the HelloImg API before WordPress generates the sub-sizes, so one API call covers the original and every thumbnail. Originals are kept and restorable from the media library.

Install
[01]What it does

On upload

Interceptor

JPEG, PNG, HEIC, TIFF and BMP converted before sub-sizes are cut — one call per image.

Left alone

WebP, AVIF and animated GIF pass through untouched.

Graceful fallback

If the API fails the original upload survives — nothing is lost to a network error.

Exclusions

Wildcard patterns on filename or path for images that must stay as they are.

Existing libraries

Bulk optimize

Segmented progress with elapsed time, speed and ETA, resumable after a stall.

Parallel-safe queue

Several WP-CLI workers can run at once without claiming the same image twice.

URL rewrite

Posts, meta and options rewritten in batches, serialization-aware, with 301s from the old URLs.

Restore

Any image can be put back from its backup, thumbnails regenerated.

Operations

Speed profiles

Gentle, normal or fast, with a CPU load guard and a quota halt on a spent balance.

Environment tester

Checks table engines, WebP support, cron loopback, disk space and the API before you start.

Smart crop

Opt-in subject-aware recropping of hard-crop sizes.

WP-CLI

status, optimize, restore and smartcrop, for scripted runs.