Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/milyutinkv-coder/milyutin-image-optimizer/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress plugin that converts JPG/PNG images to WebP and AVIF, delivers them via
<picture>tag, and includes bulk conversion for the entire media library.
✨ Features
- 🔄 Automatic conversion on image upload (original + all intermediate sizes)
- 🖼️ Bulk conversion of the entire media library via AJAX batches (with progress bar)
- 📦 WebP and AVIF support (Imagick first, GD as fallback)
- 🎨 Adjustable quality for each format (sliders in admin)
- 🏷️
<picture>tag rendering with AVIF → WebP → original fallback - 📊 Log and statistics — see how much space you saved
- 🔒 Secure AJAX (nonce + capability checks)
- 🌐 No external services — everything runs on your server
📋 Requirements
- WordPress 6.0 or higher
- PHP 8.0 or higher
- Imagick PHP extension (recommended) or GD with WebP/AVIF support
- For AVIF: PHP 8.1+ with GD compiled with AVIF support, or Imagick with AVIF
🚀 Installation
From GitHub
- Download the latest release ZIP.
- Go to WordPress Admin → Plugins → Add New → Upload Plugin.
- Upload the ZIP and click Install Now.
- Activate the plugin.
- Go to Milyutin Image Opt. in the admin menu to configure.
Manual
- Clone the repository:
git clone https://github.com/milyutinkv-coder/milyutin-image-optimizer.git