• v0.2.0 4cd1390a94

    help4bis released this 2026-05-19 13:50:41 +10:00 | 3 commits to main since this release

    Unblocks production use on sites previously running Smush.

    New

    wp h4b-img migrate-from-smush — translates Smush optimisation history into our markers so bulk doesn't re-process Smush's work.

    Picture_Tag rewriter — wraps <img> tags with <picture> + AVIF/WebP sources on the front-end. Hooks the_content, post_thumbnail_html, widget_text, Elementor frontend, and wp_get_attachment_image at priority 99.

    Verified

    • migrate-from-smush: 100 attachments migrated cleanly on dev.rds.ink, bulk count drops 734 → 634
    • Picture_Tag: 8 edge cases pass including double-wrap protection + Elementor compatibility

    See CHANGELOG.md for details.

    Downloads
  • v0.1.0 7e1c86f215

    help4bis released this 2026-05-19 13:41:30 +10:00 | 4 commits to main since this release

    First release. ICC-safe optimisation + WebP + AVIF. CLI-only.

    Key CLI commands:

    • wp h4b-img status — tool detection + settings
    • wp h4b-img optimise --id=<n> — single-attachment
    • wp h4b-img bulk — bulk optimise unprocessed attachments
    • wp h4b-img rescue — detect and repair Smush grey-wash bug

    Verified on dev.rds.ink:

    • ICC profile preservation works
    • Bulk: 20 attachments → 487 KB saved (10.4%), 0 errors
    • Rescue mechanic verified end-to-end

    Known limitations: no admin UI, no Picture-tag rewriting, no migrate-from-smush command yet. See CHANGELOG.md.

    Downloads