{"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-27T21:32:53","modified_gmt":"2026-09-27T21:32:53","slug":"optiforge-image-optimizer","status":"publish","type":"plugin","link":"https:\/\/tg.wordpress.org\/plugins\/optiforge-image-optimizer\/","author":15542426,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.2","stable_tag":"1.3.2","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":"3d5a49","last_updated":"2026-09-27 21:32:53","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":113,"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},"1.3.2":{"tag":"1.3.2","author":"xmaszcomm","date":"2026-09-27 21:32:53","revision":3716070}},"upgrade_notice":{"1.3.2":"<p>Recommended update for all users. Resolves PHP 8.4 compatibility, adds full GIF pipeline support, provides server compatibility inspection, and introduces customizable batch throttling for shared and VPS hosting.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3716065,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3716065,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3716065,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3716065,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.1","1.3.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3716070,"resolution":"1","location":"assets","locale":"","width":1898,"height":837},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3716070,"resolution":"2","location":"assets","locale":"","width":1918,"height":842},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3716070,"resolution":"3","location":"assets","locale":"","width":1918,"height":857},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3716070,"resolution":"4","location":"assets","locale":"","width":1918,"height":857}},"screenshots":{"1":"<strong>Dashboard Overview:<\/strong> Enterprise metric cards displaying total storage savings, optimization ratio, total media images, and real-time bulk optimization console.","2":"<strong>Settings Engine:<\/strong> Compression quality slider, lossy\/lossless modes, max dimensions auto-resizing, server compatibility inspection, and dynamic batch concurrency controls.","3":"<strong>Server-Level Rewrite Rules:<\/strong> Production-ready rewrite rules for Apache\/LiteSpeed (.htaccess) and Nginx map-based configurations for direct AVIF\/WebP delivery.","4":"<strong>System Health Status:<\/strong> Deep diagnostics for GD, ImageMagick, AVIF codec bindings, background cron health, and upload directory permissions."}},"plugin_section":[],"plugin_tags":[194661,56174,29158,247,15376],"plugin_category":[54],"plugin_contributors":[283011],"plugin_business_model":[],"class_list":["post-373673","plugin","type-plugin","status-publish","hentry","plugin_tags-avif","plugin_tags-compress-images","plugin_tags-image-optimizer","plugin_tags-performance","plugin_tags-webp","plugin_category-security-and-spam-protection","plugin_contributors-mjahanzaib","plugin_committers-xmaszcomm"],"banners":{"banner":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/banner-772x250.png?rev=3716065","banner_2x":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/banner-1544x500.png?rev=3716065","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/icon-128x128.png?rev=3716065","icon_2x":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/icon-256x256.png?rev=3716065","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-1.png?rev=3716070","caption":"<strong>Dashboard Overview:<\/strong> Enterprise metric cards displaying total storage savings, optimization ratio, total media images, and real-time bulk optimization console."},{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-2.png?rev=3716070","caption":"<strong>Settings Engine:<\/strong> Compression quality slider, lossy\/lossless modes, max dimensions auto-resizing, server compatibility inspection, and dynamic batch concurrency controls."},{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-3.png?rev=3716070","caption":"<strong>Server-Level Rewrite Rules:<\/strong> Production-ready rewrite rules for Apache\/LiteSpeed (.htaccess) and Nginx map-based configurations for direct AVIF\/WebP delivery."},{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-4.png?rev=3716070","caption":"<strong>System Health Status:<\/strong> Deep diagnostics for GD, ImageMagick, AVIF codec bindings, background cron health, and upload directory permissions."}],"raw_content":"<!--section=description-->\n<p>Is your WordPress website struggling with slow page load speeds or failing Google Core Web Vitals (Largest Contentful Paint - LCP)? Bulky JPEG and PNG images are the primary cause of high bandwidth consumption and mobile performance penalties.<\/p>\n\n<p><strong>OptiForge Image Optimizer<\/strong> is an ultra-fast, privacy-first, on-server image compression and next-generation conversion engine. Unlike third-party SaaS optimizers that require monthly subscription fees, external API keys, or upload your sensitive media to third-party cloud servers, OptiForge performs <strong>100% of encoding directly on your server<\/strong> using high-efficiency native libraries (<code>libavif<\/code>, <code>cwebp<\/code>, <code>GD<\/code>, and <code>ImageMagick<\/code>).<\/p>\n\n<p>By generating ultra-compact <strong>AVIF<\/strong> and universal <strong>WebP<\/strong> formats alongside original media and delivering them seamlessly, OptiForge slashes media payloads by up to <strong>60% to 85%<\/strong> without visual degradation.<\/p>\n\n\n\n<h3>Why Choose OptiForge Image Optimizer?<\/h3>\n\n<ul>\n<li><strong>Zero Monthly SaaS Costs:<\/strong> Unlimited conversions with no cloud credit limits, no subscription paywalls, and no external API latency.<\/li>\n<li><strong>Dual Next-Gen Pipeline (AVIF + WebP):<\/strong> AVIF delivers up to 35% superior compression over WebP, while universal WebP acts as an airtight fallback for older legacy browsers.<\/li>\n<li><strong>Chroma 4:4:4 Gaming Preservation:<\/strong> Preserves ultra-crisp text, HUDs, and fine details in gaming screenshots without color blurring.<\/li>\n<li><strong>Smart Server Compatibility Guard:<\/strong> Automatically scans host capabilities in real time. If your host lacks AVIF libraries, the engine gracefully locks AVIF to prevent 500 errors while WebP remains fully operational.<\/li>\n<li><strong>Dynamic Batch Throttling (1 to 20 images):<\/strong> Fine-tune AJAX concurrency to match your exact hosting environment. Safely run on restricted shared hosting without memory exhaustion or unlock maximum throughput on dedicated multi-core VPS stacks.<\/li>\n<li><strong>Non-Destructive Backups &amp; Zero-State Restore:<\/strong> Untouched originals remain safely backed up in an isolated directory. Restore any individual image or initiate a One-Click Full Restore that purges generated sidecars and cleanly resets dashboard metrics to zero.<\/li>\n<li><strong>Airtight Cache Harmonization:<\/strong> Fully synchronized with modern caching suites including FlyingPress, LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, and Autoptimize.<\/li>\n<li><strong>Native WP-CLI Tooling:<\/strong> Automate headless, large-scale media optimizations directly via server command lines and cron jobs.<\/li>\n<\/ul>\n\n\n\n<h3>Performance Benchmarks<\/h3>\n\n<ul>\n<li><strong>JPEG (Original 2.4 MB):<\/strong> Compressed to WebP: 420 KB (-82%) | Converted to AVIF: 285 KB (-88%)<\/li>\n<li><strong>PNG Graphics (Original 1.8 MB):<\/strong> Compressed to WebP: 310 KB (-82%) | Converted to AVIF: 215 KB (-88%)<\/li>\n<li><strong>Core Web Vitals Impact:<\/strong> Up to 1.8s faster mobile Largest Contentful Paint (LCP) and improved Google PageSpeed scores.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h3>Automatic Installation (Recommended)<\/h3>\n\n<ol>\n<li>Log in to your WordPress Dashboard.<\/li>\n<li>Navigate to <strong>Plugins &gt; Add New<\/strong> and search for <strong>OptiForge Image Optimizer<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong> and activate the plugin.<\/li>\n<li>Navigate to <strong>OptiForge &gt; Settings<\/strong> to verify your server's codec compatibility status.<\/li>\n<\/ol>\n\n<h3>Manual Installation<\/h3>\n\n<ol>\n<li>Download the <code>optiforge-image-optimizer.zip<\/code> release archive.<\/li>\n<li>Extract and upload the plugin directory to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin via the <strong>Plugins<\/strong> menu.<\/li>\n<\/ol>\n\n<h3>Recommended Configuration<\/h3>\n\n<ul>\n<li><strong>Budget Shared Hosting (cPanel):<\/strong> Set Batch Processing Limit to <strong>1 \u2013 3 images<\/strong>.<\/li>\n<li><strong>Standard Cloud VPS (1\u20132 vCPUs):<\/strong> Set Batch Processing Limit to <strong>4 \u2013 6 images<\/strong>.<\/li>\n<li><strong>High-Performance VPS (aaPanel \/ LEMP \/ Dedicated):<\/strong> Set Batch Processing Limit to <strong>10+ images<\/strong>.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20optiforge%20differ%20from%20cloud-based%20plugins%20like%20shortpixel%2C%20smush%2C%20or%20tinypng%3F\"><h3>How does OptiForge differ from cloud-based plugins like ShortPixel, Smush, or TinyPNG?<\/h3><\/dt>\n<dd><p>Most image plugins offload images to third-party external servers, which incurs recurring monthly costs, credit exhaustion, and privacy concerns. OptiForge executes 100% of optimizations locally on your web host using native PHP extensions. You retain complete ownership, zero recurring fees, and unlimited image processing.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20my%20server%20does%20not%20support%20avif%3F\"><h3>What happens if my server does not support AVIF?<\/h3><\/dt>\n<dd><p>OptiForge includes an automated compatibility engine. If your PHP environment lacks native AVIF support (e.g., missing <code>libavif<\/code>), the AVIF toggle is automatically disabled and marked with an inline status badge to eliminate server crashes. Universal WebP compression remains fully active.<\/p><\/dd>\n<dt id=\"what%20batch%20processing%20limit%20should%20i%20select%3F\"><h3>What Batch Processing Limit should I select?<\/h3><\/dt>\n<dd><ul>\n<li><strong>1 \u2013 3 Images:<\/strong> Best for entry-level shared hosting where PHP memory is constrained to 128 MB and script execution limits are strictly enforced.<\/li>\n<li><strong>4 \u2013 6 Images:<\/strong> Ideal for standard VPS setups with 256 MB+ PHP memory.<\/li>\n<li><strong>10 \u2013 20 Images:<\/strong> Tailored for high-performance VPS stacks (such as aaPanel with PHP 8.1\u20138.4 and OPcache), delivering ultra-fast batch runs across tens of thousands of media uploads.<\/li>\n<\/ul><\/dd>\n<dt id=\"does%20optimization%20alter%20or%20delete%20my%20original%20media%20files%3F\"><h3>Does optimization alter or delete my original media files?<\/h3><\/dt>\n<dd><p>No. OptiForge employs a strict non-destructive architecture. When backup mode is enabled, your untouched original assets are preserved in a secure, isolated folder (<code>\/wp-content\/uploads\/ofio-backups\/<\/code>). You can restore any image individually or run a complete restore at any time.<\/p><\/dd>\n<dt id=\"how%20does%20the%20one-click%20bulk%20restore%20feature%20work%3F\"><h3>How does the One-Click Bulk Restore feature work?<\/h3><\/dt>\n<dd><p>When you click <strong>One-Click Bulk Restore All<\/strong>, the plugin reverts each image in your media library to its original state, unlinks all generated <code>.webp<\/code> and <code>.avif<\/code> sidecar files from server storage, deletes backup duplicates to reclaim disk space, and automatically resets the dashboard counters to zero.<\/p><\/dd>\n<dt id=\"how%20does%20optiforge%20deliver%20avif%20and%20webp%20to%20frontend%20visitors%3F\"><h3>How does OptiForge deliver AVIF and WebP to frontend visitors?<\/h3><\/dt>\n<dd><p>OptiForge supports dynamic server-level rewrite rules (for Nginx and Apache\/LiteSpeed) as well as automated frontend rewrites. When a visitor's browser sends an <code>Accept: image\/avif<\/code> or <code>Accept: image\/webp<\/code> request header, your server transparently delivers the lightweight next-gen file without altering your HTML URLs.<\/p><\/dd>\n<dt id=\"is%20optiforge%20compatible%20with%20cdn%20and%20page%20caching%20plugins%3F\"><h3>Is OptiForge compatible with CDN and Page Caching plugins?<\/h3><\/dt>\n<dd><p>Yes. OptiForge features built-in cache-purging hooks compatible with FlyingPress, LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, and Autoptimize. Whenever an image is optimized or restored, stale page caches are automatically invalidated.<\/p><\/dd>\n<dt id=\"can%20optiforge%20optimize%20existing%20uploaded%20images%20in%20bulk%3F\"><h3>Can OptiForge optimize existing uploaded images in bulk?<\/h3><\/dt>\n<dd><p>Yes. Go to <strong>OptiForge &gt; Dashboard<\/strong> and click <strong>Start Bulk Optimize<\/strong>. The background engine will continuously process all unoptimized media images with real-time DOM metric updates, visual progress bars, and an active console log.<\/p><\/dd>\n<dt id=\"can%20i%20re-optimize%20previously%20converted%20webp%20images%20into%20avif%3F\"><h3>Can I re-optimize previously converted WebP images into AVIF?<\/h3><\/dt>\n<dd><p>Yes. Check the <strong>Force re-optimize all images<\/strong> option on the Bulk Image Optimizer console before starting the process. The engine will inspect all existing media attachments and generate ultra-compact AVIF sidecars.<\/p><\/dd>\n<dt id=\"does%20optiforge%20support%20wp-cli%3F\"><h3>Does OptiForge support WP-CLI?<\/h3><\/dt>\n<dd><p>Yes. Advanced administrators and DevOps engineers can execute optimizations headlessly using standard WP-CLI commands.<\/p><\/dd>\n<dt id=\"can%20i%20preserve%20photographer%20exif%20metadata%3F\"><h3>Can I preserve photographer EXIF metadata?<\/h3><\/dt>\n<dd><p>Yes. You can toggle <strong>Preserve EXIF metadata<\/strong> in the Settings panel to retain camera settings, copyrights, and shutter details, or keep it disabled for maximum payload reduction.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.2<\/h4>\n\n<ul>\n<li><strong>Feature:<\/strong> Added dynamic Batch Size Slider (1 to 20 images) with hosting recommendations tooltip for shared hosting, standard VPS, and dedicated servers.<\/li>\n<li><strong>Feature:<\/strong> Implemented automated Server Compatibility Inspection displaying real-time visual status badges for AVIF and WebP codecs.<\/li>\n<li><strong>Feature:<\/strong> Added Zero-State One-Click Bulk Restore logic that safely purges disk backups, unlinks all sidecars, and resets dashboard statistics to zero.<\/li>\n<li><strong>Enhancement:<\/strong> Full PHP 8.4 Strict Mode compatibility: hardened EXIF orientation parsing against boolean returns to eliminate array offset warnings.<\/li>\n<li><strong>Enhancement:<\/strong> End-to-end GIF pipeline integration: added static and animated GIF processing across GD, Imagick, upload hooks, custom folder scanning, and frontend rewrite rules.<\/li>\n<li><strong>Enhancement:<\/strong> High-fidelity gaming optimization: enabled Chroma 4:4:4 preservation and unsharp masking for crystal-clear AVIF sidecars.<\/li>\n<li><strong>Compliance:<\/strong> Added explicit WPCS annotations for indexed direct database queries in backup and restore queues.<\/li>\n<li><strong>Fix:<\/strong> Replaced private cache purger invocations with native WordPress core <code>clean_post_cache()<\/code> to eliminate fatal 500 errors during batch runs.<\/li>\n<li><strong>Fix:<\/strong> Added <code>is_callable()<\/code> validations and fail-safe <code>try-catch<\/code> wrappers across third-party cache purgers (FlyingPress, LiteSpeed, WP Rocket).<\/li>\n<li><strong>Fix:<\/strong> Standardized admin console log icons to safe CSS Unicode escapes (<code>\\2713<\/code>, <code>\\2139<\/code>) to eliminate encoding artifacts.<\/li>\n<li><strong>UI:<\/strong> Overhauled dashboard and settings interfaces with responsive metric cards and real-time DOM synchronization.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li><strong>Enhancement:<\/strong> Optimized batch memory management during AVIF generation loops on PHP 8.4 environments.<\/li>\n<li><strong>Fix:<\/strong> Resolved database counter synchronization issues during media library bulk indexing.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Initial public directory release with dual WebP and AVIF generation pipeline.<\/li>\n<\/ul>","raw_excerpt":"Next-gen image optimizer. Compress, convert, and serve AVIF &amp; WebP images with non-destructive backups.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/373673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=373673"}],"author":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/xmaszcomm"}],"wp:attachment":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=373673"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=373673"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=373673"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=373673"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=373673"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=373673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}