Title: Humblechildish Media Optimizer
Author: humblechildish
Published: <strong>November 24, 2026</strong>
Last modified: November 24, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/humblechildish-media-optimizer.svg)

# Humblechildish Media Optimizer

 By [humblechildish](https://profiles.wordpress.org/humblechildish/)

[Download](https://downloads.wordpress.org/plugin/humblechildish-media-optimizer.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/humblechildish-media-optimizer/#description)
 * [Reviews](https://wordpress.org/plugins/humblechildish-media-optimizer/#reviews)
 *  [Installation](https://wordpress.org/plugins/humblechildish-media-optimizer/#installation)
 * [Development](https://wordpress.org/plugins/humblechildish-media-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/humblechildish-media-optimizer/)

## Description

**Humblechildish Media Optimizer** is a modern, lightweight, and security-first 
media optimization plugin designed to dramatically improve your website loading 
speed and Core Web Vitals (especially LCP & CLS) without external API subscriptions.

Everything runs on your server using native WordPress APIs (`WP_Image_Editor` with
Imagick or GD). No external third-party servers, no hidden monthly fees, and zero
data leakage.

### 🚀 Key Features

 * **🗜️ Automatic Image Compression:** Automatically optimizes JPEG, PNG, and WebP
   images on upload using customizable quality levels (default 82).
 * **📸 Next-Gen Image Formats:** Effortlessly generate `.webp` and `.avif` versions
   alongside your original media.
 * **💤 Smart Native Lazy Loading:** Adds native `loading="lazy"` to images and 
   iframes (`the_content` and WordPress media attributes).
 * **⚡ LCP Optimization:** Intelligently excludes the first 2 above-the-fold images
   and tags the primary candidate with `fetchpriority="high"`.
 * **🌐 CDN URL Rewriting:** Seamlessly rewrites asset URLs to point to your preferred
   CDN pull-zone (Cloudflare, BunnyCDN, KeyCDN, etc.).
 * **🔒 Security-Focused:** Strict MIME-type validation via `wp_check_filetype_and_ext()`,
   path traversal protection, strict nonce checks, and zero system shell execution(`
   exec` / `shell_exec`).
 * **🌍 WordPress Multisite Compatible:** Full network-activation support and safe
   uninstallation cleanup.

## Installation

### Automatic Installation (Recommended)

 1. Log in to your WordPress admin dashboard.
 2. Navigate to **Plugins > Add New Plugin**.
 3. Search for **Humblechildish Media Optimizer**.
 4. Click **Install Now**, then click **Activate**.
 5. Go to **Settings > Media Optimizer** to configure your options.

### Manual Installation (.zip Upload)

 1. Download the plugin zip file from WordPress.org.
 2. In your WordPress admin dashboard, navigate to **Plugins > Add New Plugin > Upload
    Plugin**.
 3. Choose the downloaded zip file and click **Install Now**.
 4. Activate the plugin and configure it under **Settings > Media Optimizer**.

## FAQ

### Does the plugin require any external API key or third-party subscription?

No! The plugin operates 100% locally on your WordPress host server using the built-
in `WP_Image_Editor` (Imagick or GD extension). There are no third-party API limits
or subscriptions.

### Does the plugin overwrite my original images?

Yes, it optimizes images in-place to save disk storage while creating parallel `.
webp` copies. We always recommend backing up your `wp-content/uploads/` directory
before enabling image compression.

### Does it support AVIF format?

Yes, provided your host server supports AVIF encoding through ImageMagick or PHP
GD >= 8.1. The plugin automatically checks your server environment and notifies 
you if AVIF is supported.

### How does the CDN integration work?

When enabled, the plugin hooks into frontend filters (`the_content`, `wp_calculate_image_srcset`,`
wp_get_attachment_url`) and replaces your uploads URL with your configured CDN URL.
Only `https://` CDN URLs are accepted.

### Will it break images on old browsers without lazy load support?

No. The plugin includes a lightweight JavaScript fallback utilizing the Intersection
Observer API for legacy browsers, with graceful degradation.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ humblechildish ](https://profiles.wordpress.org/humblechildish/)

[Translate “Humblechildish Media Optimizer” into your language.](https://translate.wordpress.org/projects/wp-plugins/humblechildish-media-optimizer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/humblechildish-media-optimizer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/humblechildish-media-optimizer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/humblechildish-media-optimizer/)
by [RSS](https://plugins.trac.wordpress.org/log/humblechildish-media-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial public release.
 * Automated image compression on upload.
 * WebP & AVIF parallel generation.
 * Core Web Vitals LCP optimization with `fetchpriority="high"`.
 * Native lazy loading for images and iframes.
 * CDN URL rewriting support.
 * Optional clean uninstall that removes all plugin options.

## Meta

 *  Version **1.0.0**
 *  Last updated **6 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [cdn](https://wordpress.org/plugins/tags/cdn/)[image compression](https://wordpress.org/plugins/tags/image-compression/)
   [lazy load](https://wordpress.org/plugins/tags/lazy-load/)[media](https://wordpress.org/plugins/tags/media/)
   [webp](https://wordpress.org/plugins/tags/webp/)
 *  [Advanced View](https://wordpress.org/plugins/humblechildish-media-optimizer/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/humblechildish-media-optimizer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/humblechildish-media-optimizer/reviews/)

## Contributors

 *   [ humblechildish ](https://profiles.wordpress.org/humblechildish/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/humblechildish-media-optimizer/)