Title: OptiForge Image Optimizer
Author: Muhammad Jahanzaib
Published: <strong>23. september, 2026</strong>
Last modified: 23. september, 2026

---

Søg plugins

![](https://ps.w.org/optiforge-image-optimizer/assets/banner-772x250.png?rev=3708385)

![](https://ps.w.org/optiforge-image-optimizer/assets/icon-256x256.png?rev=3708385)

# OptiForge Image Optimizer

 Af [Muhammad Jahanzaib](https://profiles.wordpress.org/xmaszcomm/)

[Download](https://downloads.wordpress.org/plugin/optiforge-image-optimizer.1.3.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/optiforge-image-optimizer/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/optiforge-image-optimizer/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/optiforge-image-optimizer/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/optiforge-image-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/optiforge-image-optimizer/)

## Beskrivelse

OptiForge Image Optimizer is a production-grade image optimization plugin built 
to handle real-world websites — from small blogs to large media libraries with thousands
of images — without server timeouts, memory crashes, or data loss.

#### Key Features

**Dual Imaging Engine**
 Uses Imagick (preferred) or GD Library automatically. No
manual configuration needed.

**Next-Gen Format Generation**
 Automatically creates lightweight WebP and AVIF 
sidecar files from JPG, PNG, and WebP sources. Both formats are generated in parallel
where supported.

**Memory-Safe Large Image Processing**
 Raises PHP memory limits before processing,
enforces a configurable file-size cap (default 50 MB) to prevent out-of-memory crashes
on 4K/8K uploads, and calls gc_collect_cycles() after every thumbnail.

**Transparent PNG Support**
 Fully preserves alpha channel transparency when converting
PNG images to WebP and AVIF — no black backgrounds.

**Animated GIF Protection**
 Automatically detects animated GIFs and skips them 
rather than flattening all frames into a single frozen image.

**Time-Budgeted Bulk Optimizer**
 Processes images in safe 14-second AJAX batches
to prevent 504 Gateway Timeouts on libraries with hundreds or thousands of images.
Supports pause, resume, and stop controls.

**Force Re-optimize Mode**
 One checkbox to re-compress and convert all existing
images — including previously optimized JPGs, PNGs, and WebPs — to AVIF and WebP.

**One-Click Bulk Restore**
 Reverts every image back to its untouched original with
live chunked progress. The restore queue is protected against infinite loops and
stale record lockouts.

**Automatic Backup & Cleanup**
 Creates a secure backup copy of each original before
any changes. Backups and sidecar files (.webp, .avif) are automatically cleaned 
up when an image is permanently deleted from the Media Library.

## Installation

 1. Upload the `optiforge-image-optimizer` folder to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **Settings > OptiForge Optimizer** to configure your options.

## FAQ

### Does this plugin modify the original images permanently?

No. When backup is enabled, the plugin creates a copy in `wp-content/uploads/ofio-
backups/` before making changes. You can restore originals anytime.

### What happens if I delete an image from the Media Library?

The plugin automatically cleans up the corresponding backup and all generated WebP/
AVIF sidecars.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“OptiForge Image Optimizer” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Muhammad Jahanzaib ](https://profiles.wordpress.org/xmaszcomm/)
 *   [ jahanzaib ](https://profiles.wordpress.org/jahanzaib/)

[Oversæt “OptiForge Image Optimizer” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/optiforge-image-optimizer)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/optiforge-image-optimizer/),
tjek [SVN repository](https://plugins.svn.wordpress.org/optiforge-image-optimizer/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/optiforge-image-optimizer/)
via [RSS](https://plugins.trac.wordpress.org/log/optiforge-image-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.3.1

 * Initial public release with full WordPress.org directory compliance.
 * Feature: Parallel WebP and AVIF generation directly on upload.
 * Feature: Safe 14-second time-budgeted bulk optimization preventing 504 Gateway
   Timeouts.
 * Feature: One-click bulk restore with automated queue cleanup and loop protection.
 * Security: Hardened database queries with $wpdb->prepare() and WP_Filesystem API
   integration.
 * Compatibility: Fully tested and compatible up to WordPress 7.1.

## Meta

 *  Version **1.3.1**
 *  Senest opdateret **19 timer siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 5.8 eller højere **
 *  Testet op til **7.1.2**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/optiforge-image-optimizer/)
 * Tags
 * [AVIF](https://da.wordpress.org/plugins/tags/avif/)[compression](https://da.wordpress.org/plugins/tags/compression/)
   [image optimizer](https://da.wordpress.org/plugins/tags/image-optimizer/)[performance](https://da.wordpress.org/plugins/tags/performance/)
   [webp](https://da.wordpress.org/plugins/tags/webp/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/optiforge-image-optimizer/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/optiforge-image-optimizer/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/optiforge-image-optimizer/reviews/)

## Bidragsydere

 *   [ Muhammad Jahanzaib ](https://profiles.wordpress.org/xmaszcomm/)
 *   [ jahanzaib ](https://profiles.wordpress.org/jahanzaib/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/optiforge-image-optimizer/)