{"id":373673,"date":"2026-09-23T02:29:48","date_gmt":"2026-09-23T02:29:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ab-images-optimizer\/"},"modified":"2026-09-23T02:29:32","modified_gmt":"2026-09-23T02:29:32","slug":"optiforge-image-optimizer","status":"publish","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/optiforge-image-optimizer\/","author":15542426,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.1","stable_tag":"1.3.1","tested":"7.1.2","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"OptiForge Image Optimizer","header_author":"Muhammad Jahanzaib","header_description":"Enterprise-grade image optimization: AVIF\/WebP generation, Max dimension resizing, Time-budgeted bulk optimizer, One-click bulk restore, Live media inline optimization, and WP-CLI commands.","assets_banners_color":"0f152c","last_updated":"2026-09-23 02:29:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mjahanxeb\/optiforge-image-optimizer","header_author_uri":"https:\/\/github.com\/mjahanxeb","rating":0,"author_block_rating":0,"active_installs":0,"downloads":42,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.1":{"tag":"1.3.1","author":"xmaszcomm","date":"2026-09-23 02:29:32","revision":3708341}},"upgrade_notice":{"1.3.1":"<p>Production-ready stable release featuring next-gen AVIF\/WebP compression, bulk optimization, and full WordPress 7.1 support.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3708385,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3708385,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3708385,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":488},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3708385,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[194661,17209,29158,247,15376],"plugin_category":[54],"plugin_contributors":[282180,282179],"plugin_business_model":[],"class_list":["post-373673","plugin","type-plugin","status-publish","hentry","plugin_tags-avif","plugin_tags-compression","plugin_tags-image-optimizer","plugin_tags-performance","plugin_tags-webp","plugin_category-security-and-spam-protection","plugin_contributors-jahanzaib","plugin_contributors-xmaszcomm","plugin_committers-xmaszcomm"],"banners":{"banner":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/banner-772x250.png?rev=3708385","banner_2x":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/banner-1544x500.png?rev=3708385","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/icon-128x128.png?rev=3708385","icon_2x":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/icon-256x256.png?rev=3708385","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>OptiForge Image Optimizer is a production-grade image optimization plugin built to handle real-world websites \u2014 from small blogs to large media libraries with thousands of images \u2014 without server timeouts, memory crashes, or data loss.<\/p>\n\n<h4>Key Features<\/h4>\n\n<p><strong>Dual Imaging Engine<\/strong>\nUses Imagick (preferred) or GD Library automatically. No manual configuration needed.<\/p>\n\n<p><strong>Next-Gen Format Generation<\/strong>\nAutomatically creates lightweight WebP and AVIF sidecar files from JPG, PNG, and WebP sources. Both formats are generated in parallel where supported.<\/p>\n\n<p><strong>Memory-Safe Large Image Processing<\/strong>\nRaises 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.<\/p>\n\n<p><strong>Transparent PNG Support<\/strong>\nFully preserves alpha channel transparency when converting PNG images to WebP and AVIF \u2014 no black backgrounds.<\/p>\n\n<p><strong>Animated GIF Protection<\/strong>\nAutomatically detects animated GIFs and skips them rather than flattening all frames into a single frozen image.<\/p>\n\n<p><strong>Time-Budgeted Bulk Optimizer<\/strong>\nProcesses 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.<\/p>\n\n<p><strong>Force Re-optimize Mode<\/strong>\nOne checkbox to re-compress and convert all existing images \u2014 including previously optimized JPGs, PNGs, and WebPs \u2014 to AVIF and WebP.<\/p>\n\n<p><strong>One-Click Bulk Restore<\/strong>\nReverts every image back to its untouched original with live chunked progress. The restore queue is protected against infinite loops and stale record lockouts.<\/p>\n\n<p><strong>Automatic Backup &amp; Cleanup<\/strong>\nCreates 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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>optiforge-image-optimizer<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; OptiForge Optimizer<\/strong> to configure your options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20modify%20the%20original%20images%20permanently%3F\"><h3>Does this plugin modify the original images permanently?<\/h3><\/dt>\n<dd><p>No. When backup is enabled, the plugin creates a copy in <code>wp-content\/uploads\/ofio-backups\/<\/code> before making changes. You can restore originals anytime.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20delete%20an%20image%20from%20the%20media%20library%3F\"><h3>What happens if I delete an image from the Media Library?<\/h3><\/dt>\n<dd><p>The plugin automatically cleans up the corresponding backup and all generated WebP\/AVIF sidecars.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Initial public release with full WordPress.org directory compliance.<\/li>\n<li>Feature: Parallel WebP and AVIF generation directly on upload.<\/li>\n<li>Feature: Safe 14-second time-budgeted bulk optimization preventing 504 Gateway Timeouts.<\/li>\n<li>Feature: One-click bulk restore with automated queue cleanup and loop protection.<\/li>\n<li>Security: Hardened database queries with $wpdb-&gt;prepare() and WP_Filesystem API integration.<\/li>\n<li>Compatibility: Fully tested and compatible up to WordPress 7.1.<\/li>\n<\/ul>","raw_excerpt":"Fast local image optimizer with WebP and AVIF conversion, bulk compression, one-click restore, and rewrite delivery for faster sites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/373673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=373673"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/xmaszcomm"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=373673"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=373673"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=373673"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=373673"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=373673"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=373673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}