{"id":380365,"date":"2026-10-07T06:03:18","date_gmt":"2026-10-07T06:03:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wpfia-image-optimizer\/"},"modified":"2026-10-07T06:03:00","modified_gmt":"2026-10-07T06:03:00","slug":"wpfia-image-optimizer","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wpfia-image-optimizer\/","author":23469781,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.3","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"WPFIA Image Optimizer","header_author":"WPFIA","header_description":"On-server WebP conversion, Google Core Web Vitals booster, and automated responsive image delivery with zero cloud compression fees.","assets_banners_color":"142d3f","last_updated":"2026-10-07 06:03:00","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wpfia.com","header_plugin_uri":"https:\/\/wpfia.com\/plugins\/image-optimizer","header_author_uri":"https:\/\/wpfia.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":120,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"tofayelamin","date":"2026-10-07 06:03:00","revision":3731931}},"upgrade_notice":{"1.0.0":"<p>Welcome to WPFIA Image Optimizer! Install now to boost your Google PageSpeed scores, convert images to WebP\/AVIF locally, and pass Core Web Vitals with zero cloud fees.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3731931,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3731931,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3731931,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3731931,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3731931,"resolution":"1","location":"assets","locale":"","width":1440,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3731931,"resolution":"2","location":"assets","locale":"","width":1440,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3731931,"resolution":"3","location":"assets","locale":"","width":1440,"height":900},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3731931,"resolution":"4","location":"assets","locale":"","width":1440,"height":900},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3731931,"resolution":"5","location":"assets","locale":"","width":1440,"height":900},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3731931,"resolution":"6","location":"assets","locale":"","width":1440,"height":900},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3731931,"resolution":"7","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"<strong>Dashboard &amp; Analytics:<\/strong> Live storage savings dashboard showing total images optimized, disk space saved, and server engine diagnostics.","2":"<strong>WooCommerce Single Product Metabox:<\/strong> 1-click instant optimization right inside the product editor with live compression stats.","3":"<strong>Bulk Optimizer:<\/strong> Asynchronous batch conversion engine with real-time percentage progress bar and time estimation.","4":"<strong>Core Web Vitals Settings:<\/strong> Automated LCP Hero Booster and CLS Layout Shift prevention configuration.","5":"<strong>Visual Comparison Inspector:<\/strong> Side-by-side split comparison lightbox examining visual quality retention and byte reduction.","6":"<strong>Next-Gen Media Settings:<\/strong> AVIF format conversion, animated GIF processing, and custom image resizing controls.","7":"<strong>Automation &amp; Folders:<\/strong> Background WP-Cron schedule manager, custom theme directory optimization, and post-type exclusion rules."}},"plugin_section":[],"plugin_tags":[187460,29152,29158,794,15376],"plugin_category":[52],"plugin_contributors":[78154,284114],"plugin_business_model":[],"class_list":["post-380365","plugin","type-plugin","status-publish","hentry","plugin_tags-core-web-vitals","plugin_tags-image-compression","plugin_tags-image-optimizer","plugin_tags-speed","plugin_tags-webp","plugin_category-performance","plugin_contributors-freemius","plugin_contributors-tofayelamin","plugin_committers-tofayelamin"],"banners":{"banner":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/banner-772x250.png?rev=3731931","banner_2x":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/banner-1544x500.png?rev=3731931","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/icon-128x128.png?rev=3731931","icon_2x":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/icon-256x256.png?rev=3731931","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-1.png?rev=3731931","caption":"<strong>Dashboard &amp; Analytics:<\/strong> Live storage savings dashboard showing total images optimized, disk space saved, and server engine diagnostics."},{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-2.png?rev=3731931","caption":"<strong>WooCommerce Single Product Metabox:<\/strong> 1-click instant optimization right inside the product editor with live compression stats."},{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-3.png?rev=3731931","caption":"<strong>Bulk Optimizer:<\/strong> Asynchronous batch conversion engine with real-time percentage progress bar and time estimation."},{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-4.png?rev=3731931","caption":"<strong>Core Web Vitals Settings:<\/strong> Automated LCP Hero Booster and CLS Layout Shift prevention configuration."},{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-5.png?rev=3731931","caption":"<strong>Visual Comparison Inspector:<\/strong> Side-by-side split comparison lightbox examining visual quality retention and byte reduction."},{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-6.png?rev=3731931","caption":"<strong>Next-Gen Media Settings:<\/strong> AVIF format conversion, animated GIF processing, and custom image resizing controls."},{"src":"https:\/\/ps.w.org\/wpfia-image-optimizer\/assets\/screenshot-7.png?rev=3731931","caption":"<strong>Automation &amp; Folders:<\/strong> Background WP-Cron schedule manager, custom theme directory optimization, and post-type exclusion rules."}],"raw_content":"<!--section=description-->\n<p><strong>WPFIA Image Optimizer<\/strong> is an all-in-one, high-performance image optimization, WebP\/AVIF conversion, and Google Core Web Vitals acceleration suite built specifically for WordPress and WooCommerce.<\/p>\n\n<p>WPFIA Image Optimizer processes and converts images directly on your local WordPress hosting server using native PHP GD or Imagick extensions, eliminating third-party cloud compression dependencies.<\/p>\n\n<p>Convert images, reduce page weight by up to 85%, improve Google PageSpeed scores, and deliver modern next-gen images without requiring external cloud compression subscriptions.<\/p>\n\n\n\n<h3>\u26a1 Core Features &amp; Capabilities<\/h3>\n\n<ol>\n<li><p><strong>100% On-Server Unlimited WebP &amp; AVIF Conversion (Zero Cloud Credits):<\/strong><\/p>\n\n<ul>\n<li>Process images without third-party API keys or external credits.<\/li>\n<li>Automatically converts newly uploaded media and all registered thumbnail sizes (<code>thumbnail<\/code>, <code>medium<\/code>, <code>large<\/code>, <code>woocommerce_single<\/code>, etc.).<\/li>\n<li>Preserves full transparency for PNGs and alpha channels.<\/li>\n<li>Full support for Animated GIF to WebP conversion with complete frame rate and animation preservation.<\/li>\n<\/ul><\/li>\n<li><p><strong>Google Core Web Vitals: LCP Hero Booster:<\/strong><\/p>\n\n<ul>\n<li>Eliminates delayed above-the-fold hero images caused by generic lazy loading.<\/li>\n<li>Automatically identifies the primary featured or hero image on posts, pages, and WooCommerce products.<\/li>\n<li>Dynamically applies <code>fetchpriority=\"high\"<\/code>, <code>decoding=\"async\"<\/code>, and removes <code>loading=\"lazy\"<\/code> from the viewport hero image.<\/li>\n<li>Preloads the WebP hero image in the HTML <code>&lt;head&gt;<\/code> for faster rendering.<\/li>\n<\/ul><\/li>\n<li><p><strong>Google Core Web Vitals: CLS Layout Shift Eliminator:<\/strong><\/p>\n\n<ul>\n<li>Prevents jarring screen jumping while images load.<\/li>\n<li>Scans content images and dynamically calculates and injects missing <code>width<\/code> and <code>height<\/code> attributes to preserve exact visual aspect ratios.<\/li>\n<\/ul><\/li>\n<li><p><strong>Zero-Configuration <code>&lt;picture&gt;<\/code> Tag Responsive Delivery:<\/strong><\/p>\n\n<ul>\n<li>No complex <code>.htaccess<\/code> modifications, Nginx rewrite configurations, or server restarts required.<\/li>\n<li>Delivers modern WebP\/AVIF images via semantic <code>&lt;picture&gt;<\/code> HTML elements with automatic graceful fallback to original JPEG\/PNG for older legacy browsers.<\/li>\n<li>Fully compatible with Cloudflare, LiteSpeed Cache, WP Rocket, Nginx, Apache, and Redis object cache.<\/li>\n<\/ul><\/li>\n<li><p><strong>Intelligent Memory Guard Engine (Zero 500 Out-of-Memory Errors):<\/strong><\/p>\n\n<ul>\n<li>High-resolution images (4K, 8K, 24MP+ DSLR uploads) can strain shared hosting servers during resizing.<\/li>\n<li>Dynamic memory allocator calculates required memory before image processing begins and temporarily increases limits to prevent fatal crashes.<\/li>\n<\/ul><\/li>\n<li><p><strong>Deep WooCommerce Integration:<\/strong><\/p>\n\n<ul>\n<li>Automatically optimizes single product main gallery images, catalog thumbnails, variation swatches, and cart previews out-of-the-box.<\/li>\n<li>Drastically speeds up product listing pages to improve conversion rates and lower bounce rates.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n\n\n<h3>\ud83c\udf1f Full Feature Summary<\/h3>\n\n<ul>\n<li><strong>WooCommerce Single Product Quick Optimize Metabox:<\/strong> Direct 1-click optimization metabox right on the WooCommerce product edit screen. Check product gallery WebP conversion status and optimize instantly without visiting settings.<\/li>\n<li><strong>Storage Saver (Delete Originals Option):<\/strong> Optional toggle to safely delete original uncompressed JPG\/PNG source files after successful WebP generation, reclaiming up to 50% server disk space on budget shared hosting.<\/li>\n<li><strong>Frontend Admin Bar Performance Inspector:<\/strong> Instant live telemetry in the top admin bar showing WebP image status, LCP preloading verification, and quick product optimization shortcuts.<\/li>\n<li><strong>Advanced Post-Type Exclusion Rules:<\/strong> Exclude specific post types (e.g. client invoices, receipts, certificates, private downloads) while converting blog posts and WooCommerce products.<\/li>\n<li><strong>Media Library Instant Action Column:<\/strong> View compression badges and trigger 1-click single image optimizations right inside <code>Media &gt; Library<\/code> without opening plugin settings.<\/li>\n<li><strong>Full-Page CSS Background WebP Buffer:<\/strong> Seamlessly converts background images in Elementor, Divi, Gutenberg, theme headers, and footers into modern WebP.<\/li>\n<li><strong>Smart Image SEO &amp; Missing ALT Text Auto-Generator:<\/strong> Automatically injects descriptive, humanized ALT text onto images lacking ALT tags to boost Google Image Search rankings.<\/li>\n<li><strong>Low-Quality Image Placeholder (LQIP):<\/strong> Eliminates Cumulative Layout Shift (CLS) with instant dominant color placeholders while lazy images load.<\/li>\n<li><strong>1-Click Asynchronous Bulk Converter:<\/strong> Safely processes your entire media library in batches with an interactive real-time progress bar.<\/li>\n<li><strong>Background WP-Cron Auto-Optimizer:<\/strong> Automatically detects and converts unoptimized images quietly in the background without needing your browser tab open.<\/li>\n<li><strong>Custom Folder Optimizer:<\/strong> Optimize images outside the WordPress uploads directory\u2014including active theme templates, child themes, and custom asset folders.<\/li>\n<li><strong>Safe SVG Uploads &amp; Sanitizer:<\/strong> Enable secure vector SVG uploads with built-in XML\/XSS sanitization to protect your site against malicious script injection.<\/li>\n<li><strong>Visual Before\/After Lightbox Inspector:<\/strong> Compare original and optimized images side-by-side with an interactive split slider and live file size savings metrics.<\/li>\n<li><strong>Original Master File Protection:<\/strong> Keeps your original master images untouched so you can restore or regenerate anytime.<\/li>\n<li><strong>Automatic Media Cleanup:<\/strong> Deleting an image from your WordPress Media Library automatically purges all corresponding <code>.webp<\/code> and thumbnail files to keep your server storage clean.<\/li>\n<li><strong>WP-CLI Support:<\/strong> Built-in command line interface (<code>wp wpfia optimize<\/code>) for developers, DevOps, and automated deployment pipelines.<\/li>\n<li><strong>Ultra-Lightweight &amp; Clean Code:<\/strong> Built with 100% Vanilla JavaScript and CSS (&lt; 15KB footprint). Zero external frameworks, zero CDNs, and zero telemetry tracking.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>wpfia-image-optimizer<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install directly via <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen in WordPress.<\/li>\n<li>Navigate to <strong>Image Optimizer<\/strong> in your WordPress admin menu.<\/li>\n<li>Review your server capability diagnostics and set your desired compression quality (recommended: 85%).<\/li>\n<li>Navigate to <strong>Bulk Optimizer<\/strong> and click <strong>Start Bulk WebP Conversion<\/strong> to optimize your existing media library in 1 click!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20require%20an%20external%20api%20key%20or%20paid%20third-party%20subscription%3F\"><h3>Does this plugin require an external API key or paid third-party subscription?<\/h3><\/dt>\n<dd><p>No! All image conversions take place directly on your own WordPress hosting server using native PHP GD or Imagick extensions. There are zero third-party cloud dependencies, no external servers, and no recurring image credit fees.<\/p><\/dd>\n<dt id=\"will%20converting%20images%20slow%20down%20my%20server%20or%20run%20out%20of%20memory%3F\"><h3>Will converting images slow down my server or run out of memory?<\/h3><\/dt>\n<dd><p>No. WPFIA Image Optimizer includes an intelligent <strong>Memory Guard Engine<\/strong> and processes bulk images in asynchronous batches. This prevents server timeouts and 500 Out-of-Memory crashes, even on budget shared hosting environments.<\/p><\/dd>\n<dt id=\"are%20my%20original%20jpeg%20and%20png%20images%20deleted%3F\"><h3>Are my original JPEG and PNG images deleted?<\/h3><\/dt>\n<dd><p>By default, WPFIA preserves your original master files as a permanent safety backup and for fallback delivery to older browsers. You can also restore original images at any time with a single click. If you are on a budget shared hosting plan with limited storage, you can enable the optional <strong>Storage Saver<\/strong> setting to permanently remove original JPG\/PNG files and reclaim up to 50% hosting disk space.<\/p><\/dd>\n<dt id=\"can%20i%20optimize%20woocommerce%20product%20images%20directly%20from%20the%20product%20edit%20screen%3F\"><h3>Can I optimize WooCommerce product images directly from the product edit screen?<\/h3><\/dt>\n<dd><p>Yes! WPFIA adds a dedicated <strong>\u26a1 WPFIA Image Optimizer<\/strong> metabox directly on the WooCommerce product edit screen. It displays live compression status for the product's featured photo and gallery images, with a 1-click <strong>Optimize Product Images Now<\/strong> button.<\/p><\/dd>\n<dt id=\"how%20does%20the%20lcp%20hero%20booster%20improve%20google%20pagespeed%3F\"><h3>How does the LCP Hero Booster improve Google PageSpeed?<\/h3><\/dt>\n<dd><p>Google PageSpeed heavily penalizes websites when the primary hero or featured image is delayed by generic lazy loading plugins. WPFIA automatically removes <code>loading=\"lazy\"<\/code> from the first viewport image, adds <code>fetchpriority=\"high\"<\/code>, and injects a preload link into the HTML <code>&lt;head&gt;<\/code>, cutting seconds off your Largest Contentful Paint (LCP) time.<\/p><\/dd>\n<dt id=\"does%20it%20support%20animated%20gifs%20and%20avif%3F\"><h3>Does it support Animated GIFs and AVIF?<\/h3><\/dt>\n<dd><p>Yes! WPFIA supports next-gen AVIF conversion as well as animated GIF conversion into ultra-compact animated WebP format while preserving complete frame animation and speed.<\/p><\/dd>\n<dt id=\"can%20i%20safely%20upload%20svg%20vector%20files%3F\"><h3>Can I safely upload SVG vector files?<\/h3><\/dt>\n<dd><p>Yes. WPFIA includes a safe SVG upload module with an advanced XML and XSS sanitizer that strips out potentially harmful scripts and external entity declarations before saving to the media library.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20page%20builders%20like%20elementor%2C%20divi%2C%20and%20gutenberg%3F\"><h3>Does it work with page builders like Elementor, Divi, and Gutenberg?<\/h3><\/dt>\n<dd><p>Yes. WPFIA is 100% compatible with Gutenberg Block Editor, Elementor, Divi, Beaver Builder, Bricks, and WooCommerce shop templates.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20caching%20plugins%20and%20cdns%3F\"><h3>Is it compatible with caching plugins and CDNs?<\/h3><\/dt>\n<dd><p>Yes. Because WPFIA delivers modern images via standard semantic <code>&lt;picture&gt;<\/code> HTML markup, it works seamlessly with Cloudflare, LiteSpeed Cache, WP Rocket, W3 Total Cache, Fastly, and Nginx reverse proxies without requiring custom server rewrite rules.<\/p>\n\n<\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial production release of WPFIA Image Optimizer.<\/li>\n<li>Native on-server WebP and AVIF conversion engine supporting PHP GD and Imagick.<\/li>\n<li>WooCommerce Single Product Quick-Optimize metabox with 1-click instant compression.<\/li>\n<li>Storage Saver mode to optionally delete original master JPG\/PNG files and free up 50% hosting disk space.<\/li>\n<li>Frontend WordPress Admin Bar telemetry inspector and Core Web Vitals monitor.<\/li>\n<li>Advanced Post-Type and Taxonomy exclusion rules for enterprise installations.<\/li>\n<li>Automated conversion hook on media upload (<code>wp_generate_attachment_metadata<\/code>).<\/li>\n<li>Asynchronous batch media library bulk converter with real-time progress bar.<\/li>\n<li>Google Core Web Vitals LCP Hero Booster (<code>fetchpriority=\"high\"<\/code> and eager loading).<\/li>\n<li>Google Core Web Vitals CLS layout shift prevention (automatic dimension and aspect-ratio injection).<\/li>\n<li>Semantic <code>&lt;picture&gt;<\/code> element delivery with automatic legacy browser fallback.<\/li>\n<li>Animated GIF to WebP conversion with frame preservation.<\/li>\n<li>Safe SVG vector upload engine with built-in XML\/XSS sanitizer.<\/li>\n<li>Intelligent Memory Guard Engine preventing PHP Out-of-Memory crashes on large images.<\/li>\n<li>Background WP-Cron auto-optimizer for hands-free background processing.<\/li>\n<li>Custom folder optimizer for theme templates and external directories.<\/li>\n<li>Deep WooCommerce integration for product galleries and catalog thumbnails.<\/li>\n<li>Interactive before\/after split comparison lightbox inspector.<\/li>\n<li>Dedicated WP-CLI commands (<code>wp wpfia optimize<\/code>) for command-line management.<\/li>\n<li>Auto-cleanup on media deletion to prevent orphaned files.<\/li>\n<\/ul>","raw_excerpt":"On-server WebP conversion, Google Core Web Vitals booster, and automated responsive image delivery with zero cloud compression fees.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/380365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=380365"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tofayelamin"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=380365"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=380365"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=380365"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=380365"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=380365"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=380365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}