OptiFusion – Image Converter & Optimizer

Description

OptiFusion optimizes your entire WordPress Media Library:

  • Bulk convert PNG/JPG images to WebP or AVIF
  • Smart lossy/near-lossless compression (adjustable quality)
  • Auto-optimize every image the moment it’s uploaded
  • Automatic backup of original images with one-click restore
  • Strip EXIF/metadata for extra savings
  • Optional max-width resize for oversized images
  • WebP fallback via tags — modern browsers get WebP,
    old browsers (e.g. IE11) automatically get the original image
  • Lazy loading — native loading="lazy" or an advanced
    IntersectionObserver-based JS loader with automatic fallback
    for very old browsers
  • CDN integration — serve all images (and their srcset/thumbnails)
    from your own CDN by simply entering its URL
  • Unused Images finder — scan your entire library for images not
    referenced anywhere on the site, select them, and bulk delete
  • Dashboard shows total images, space saved, and average savings
  • Works via WordPress’ native wp_generate_attachment_metadata hook,
    so it’s compatible with page builders, importers, and the REST API
  • No conflicting global functions/classes — everything is prefixed
    OptiFusion_ / optifusion_

Works with either the Imagick PHP extension (recommended, supports AVIF)
or the GD library (fallback, WebP only on most setups).

External services

This plugin’s optional AI Tools feature (alt-text and tag generation
for an image) connects to the Google Gemini API
(generativelanguage.googleapis.com).

  • This is only used if you enter your own Google Gemini API key on the
    AI Tools settings page and explicitly click « Generate » on a specific
    image. No data is sent unless you take this action.
  • When used, the selected image’s file data is sent to Google’s servers
    so the Gemini model can analyze it and return a suggested alt text
    and tags.
  • This service is provided by Google LLC: Terms of Service, Privacy Policy.

The plugin’s duplicate-image finder and blur detector run entirely
locally on your own server and do not send any data anywhere.

Captures d’écrans

Installation

  1. Upload the optifusion folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to OptiFusion Settings to configure format/quality
  4. Go to OptiFusion Bulk Optimize to process your existing library

FAQ

Will this break existing image URLs on my site?

When an image is converted to a new format, OptiFusion updates the
WordPress attachment record and regenerates thumbnail sizes, so URLs
used through WordPress functions stay correct. Hard-coded URLs in
custom code that reference the old file extension would need updating.

Can I undo the optimization?

Yes — enable « Backup Original Images » in Settings (on by default) and
use the Backup & Restore page to revert any image, or all images at once.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« OptiFusion – Image Converter & Optimizer » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal des modifications

1.3.0

  • Added AI Tools page: local duplicate/similar image finder (free, unlimited), local low-quality/blur detector (free, unlimited), and AI-powered alt-text + tag generator using the Google Gemini free tier.

1.2.0

  • Added Unused Images finder — scan the Media Library for images not used anywhere on the site, select them, and bulk delete.
  • Converted all admin UI text to plain English.

1.1.0

  • Added WebP fallback mode using tags for old browser support.
  • Added lazy loading (native + advanced JS/IntersectionObserver mode).
  • Added CDN integration with URL rewriting.

1.0.0

  • Initial release.