MITS Image Optimizer

Description

MITS Image Optimizer is a professional image optimization toolkit for WordPress. It compresses images automatically on upload, batch-converts your entire media library to WebP and AVIF, configures Apache to serve next-gen formats automatically, and scans your site for common technical SEO issues.

Features

Auto-Compress on Upload
Every JPG/PNG above a configurable size threshold is automatically scaled and compressed before WordPress generates its thumbnail sizes. No extra steps needed.

Bulk Compression
Run a background batch job to compress all existing images in your media library. Progress is tracked and the job runs asynchronously — it won’t block your browser.

WebP Converter
Batch-convert all JPG/PNG/GIF files in your uploads directory to WebP format. Runs in the background using WP-Cron or a loopback HTTP request. Supports both Imagick and GD libraries.

AVIF Converter
Convert images to AVIF — the next-generation format that can be 30–50% smaller than WebP. Requires Imagick 7+ with AVIF support or PHP 8.1+ with GD imageavif(). The plugin detects support automatically and warns you if AVIF is unavailable on your server.

Apache .htaccess Configuration
One click adds mod_rewrite rules to your .htaccess so Apache automatically serves .webp files to browsers that support them, with no code changes required in your theme.

Image Dimensions Scanner
Detects images ≥ 1600 px wide that are used in posts or as featured images. Helps you find oversized images that slow down page loads, along with their file sizes, dimensions, and WebP/AVIF conversion status.

Site Audit
Scans your site for the most common technical issues: missing alt text, oversized images, missing SSL, outdated plugins, pages without Open Graph tags, and more. Results include actionable recommendations.

Dashboard Widget
A compact stats panel on the WordPress admin dashboard showing compression savings, WebP/AVIF conversion counts, and a link to the optimizer.

Requirements

  • PHP 8.0+, WordPress 6.0+
  • GD or Imagick PHP extension (for WebP/compression)
  • Imagick 7+ with AVIF or PHP 8.1+ GD (for AVIF conversion)
  • Apache + mod_rewrite (for automatic WebP serving via .htaccess)

Privacy

This plugin does not collect any personal data and does not make any external HTTP requests.

Screenshots

  • Main dashboard — compression stats, progress bar, and quick actions.
  • WebP Converter tab — batch conversion controls and status.
  • AVIF Converter tab — next-gen format conversion with server support detection.

Installation

  1. Upload the mits-image-optimizer folder to /wp-content/plugins/.
  2. Activate the plugin via Plugins Installed Plugins.
  3. Navigate to MITS Optimizer in the WordPress admin sidebar.
  4. (Optional) Click Konfiguruj .htaccess on the WebP tab to enable automatic browser-side WebP delivery.

FAQ

Does this plugin delete my original images?

No. Original images are never deleted. WebP and AVIF files are saved alongside originals with a .webp or .avif extension (e.g. photo.jpg photo.jpg.webp).

What happens if my server doesn’t support AVIF?

The AVIF tab will display a warning with the reason (e.g. Imagick version too old, or GD imageavif() not available). WebP conversion and compression still work independently of AVIF support.

Does it work with object-cache or page-cache plugins?

Yes. The plugin only modifies image files in your uploads directory and your .htaccess. It is compatible with all major caching plugins.

Can I run compression and WebP/AVIF conversion at the same time?

It is not recommended. Run one batch job at a time to avoid server load spikes and to keep progress tracking accurate.

Is the .htaccess change reversible?

Yes. The plugin wraps its rules in clearly marked comment blocks (# BEGIN MITS WebP# END MITS WebP). You can remove them manually or via the plugin button.

What image formats are supported?

Auto-compression and bulk compression support JPG, JPEG, PNG, and GIF. WebP and AVIF conversion support the same formats. GIF files are converted to static WebP/AVIF (animation is not preserved).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“MITS Image Optimizer” is open source software. The following people have contributed to this plugin.

Contributors

Translate “MITS Image Optimizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.
  • Auto-compression on upload with configurable quality and max-width.
  • Bulk compression with background batch processing and progress tracking.
  • WebP Converter with Imagick and GD support.
  • AVIF Converter with Imagick 7+ and GD imageavif() support.
  • Apache .htaccess automatic WebP serving configuration.
  • Image Dimensions Scanner detecting oversized images in use.
  • Site Audit with checks for missing alt, SSL, Open Graph, plugin updates, and more.
  • WordPress Dashboard Widget with optimization statistics.