Skip to content
All plugins on GitHub

CF Media Optimizer

Generate WebP and AVIF copies of your images and serve them to compatible browsers. Keep the original files as fallback.

Free WordPress plugin · GPL v2+

Media Optimizer 3.0.0 settings

Released interface with demonstration records. View the full example and context.

Plugin screenshots

Media Optimizer 3.0.0 settings

Released interface rendered locally with demonstration records. Review rewriting, output formats, filtering, and conversion settings before applying changes.

Available · WordPress 6.2+ · PHP 8.1+ · Free · GPL v2+

Install from Plugins → Add New → Upload Plugin. Choose the ZIP, install it, and activate it. Review the installation details below for required extensions or permissions.

Updates are manual: download the new ZIP, open Plugins → Add New → Upload Plugin, and choose Replace current with uploaded. Review the release notes first and keep a backup.

Imagick applies embedded color profiles before removing metadata. The GD fallback skips profiled images it cannot convert safely. AVIF requires a compatible Imagick encoder; transparent images retain WebP and original fallback when AVIF alpha is unsupported.

Version

3.0.3

Requires

WordPress 6.2+, PHP 8.1+

Works with

CF Media Manager

License

GPL v2+ · Free download

Creates WebP variants for supported JPEG and PNG attachments and can create AVIF when enabled and supported by Imagick. Standard picture markup lets compatible browsers select a generated variant with the original as fallback. No server rewrite rules or CDN are required. It is the conversion half of the Media Manager 3.0 split: install both and they share one in-use scan, one decorative flag, and cross-linked screens. A wp cf-media-optimizer convert command covers bulk runs from the shell.

Keep the original files

Generated WebP and enabled AVIF variants are written alongside the uploads; originals are not overwritten. On uninstall, generated variants remain by default unless “Delete generated files on uninstall” was enabled first.

Keep original-image fallback

Images are served through standard picture markup so compatible browsers can select an available generated format, with the original as fallback. No rewrite rules or .htaccess edits.

Adopt legacy variants

Migrating from another WebP plugin? The adoption wizard scans your uploads for its leftover variants and takes them over instead of re-converting.

Install Media Optimizer from the ZIP.

Grab the .zip above and upload it under Plugins → Add New. Conversion settings live under Media → Optimizer. Source lives in the public wp-plugins repository.

Report a bug or ask for help

Test the workflow on a backup or a noncritical item before making bulk changes. Use the product instructions above to check permissions and data effects.

Send the plugin version, WordPress and PHP versions, expected behavior, and steps to reproduce. Leave out passwords or private site data.