Pixelcinch Image Optimizer

Pixelcinch Image Optimizer

Details
View on WordPress

Converts images to WebP and compresses each one toward a 100KB target:

  1. Media Library optimizer – scans existing attachments (JPG/PNG/GIF,
    plus optional WebP/SVG/RAW support) and converts them to WebP in
    small batches, avoiding PHP timeouts.
  2. Manage WebP images – review any WebP image in your library, compress
    individual ones further, and choose exactly which original files to
    permanently delete once you’re happy with the result.

Compression modes

Choose one mode; it applies wherever conversion happens:

  • Less Compress (quality mode): starts at WebP quality 90, only steps
    down to a floor of quality 70, and never resizes the image. If a
    detailed image can’t get under 100KB without going below that quality
    floor, it is left larger rather than degraded further.
  • High Compress (aggressive mode): starts at quality 78, steps down to
    a floor of quality 20, and if still too big, shrinks dimensions by
    20% at a time down to a 120px floor – forcing the result under 100KB
    “at any price.”

Requirements

  • Imagick PHP extension with WebP support (preferred), or
  • GD PHP extension with WebP support (imagewebp())

Security notes

  • All admin actions require the manage_options capability and a
    verified nonce.
  • Every file this plugin processes is validated as a real image via
    getimagesize() + fileinfo mime detection (or, for SVG, a dedicated
    content-safety scan), not by trusting its extension.
  • Filenames are sanitized and destination paths are checked to stay
    inside wp-content/uploads before any file is written.
  • All AJAX output is via wp_send_json_success/error; all admin UI output
    is escaped (esc_html/esc_attr/esc_url).

The Media Library optimizer keeps your original files on disk; it only
repoints the attachment’s registered file to the new .webp version, so
you can restore from the original if needed – until you use the new
“Delete original files” tool below (see 1.2.0).

For Developers

Extension points other plugins can hook into – none of these change
default behavior on their own, they’re no-ops until something uses them:

  • pixelcinch_after_convert (action) – fires after an attachment is
    converted, with the attachment ID and a result summary array.
  • pixelcinch_after_delete_original (action) – fires after an original
    (pre-WebP) file is actually deleted from disk.
  • pixelcinch_compression_profile (filter) – the quality/resize tuning
    values used for a given compression mode.
  • pixelcinch_scannable_mime_types (filter) – the list of MIME types
    offered as scan/convert source formats.
  • pixelcinch_default_settings (filter) – the default settings array.
  • pixelcinch_sanitize_settings (filter) – the sanitized settings array
    right before it’s stored; add your own keys here alongside your own
    entries in pixelcinch_default_settings.

Details

Plugin code:
pixelcinch-image-optimizer
Plugin version:
2.6.2
Outdated:
No
WP version:
5.6 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.1
Total installations:
0
Last updated:
2026-08-28
Rating:
Times rated:
0