{"id":391836,"date":"2026-11-03T05:50:00","date_gmt":"2026-11-03T05:50:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/captain-media-shield\/"},"modified":"2026-11-03T05:49:48","modified_gmt":"2026-11-03T05:49:48","slug":"captain-media-shield","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/captain-media-shield\/","author":18476241,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Captain Media Shield","header_author":"devangvachheta","header_description":"All-in-one free Image & Video Optimizer, WebP\/AVIF Converter, Video Compressor (WebM\/Fast Start), Metadata Stripper, and Server Storage Saver for WordPress.","assets_banners_color":"3d566e","last_updated":"2026-11-03 05:49:48","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/devangvachheta\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":126,"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":"devangvachheta","date":"2026-11-03 05:49:48","revision":3781150}},"upgrade_notice":{"1.0.0":"<p>Initial release. Enjoy 100% on-server image and video optimization with zero external API dependencies.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3781150,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3781150,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3781150,"resolution":"1544x500","location":"assets","locale":"","width":3088,"height":1000},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3781150,"resolution":"772x250","location":"assets","locale":"","width":1544,"height":500}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3781150,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/admin.php?page=captain-media-shield#\\\/\",\"login\":true,\"preferredVersions\":{\"php\":\"latest\",\"wp\":\"latest\"},\"plugins\":[\"captain-media-shield\"],\"steps\":[{\"step\":\"setSiteOptions\",\"options\":{\"blogname\":\"Captain Media Shield\"}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"captain-media-shield\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3781150,"resolution":"1","location":"assets","locale":"","width":2400,"height":1800},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3781150,"resolution":"2","location":"assets","locale":"","width":1200,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3781150,"resolution":"3","location":"assets","locale":"","width":1200,"height":900},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3781150,"resolution":"4","location":"assets","locale":"","width":1200,"height":900}},"screenshots":{"1":"Analytics &amp; Server Health Dashboard: Visual storage savings overview, compression ratio, active next-gen formats, and server environment status.","2":"Bulk Optimizer in Action: One-click batch processing for your existing media library with real-time progress tracking, pause\/resume, and live activity log.","3":"Next-Gen Images &amp; Formats: Tabbed settings for automated WebP\/AVIF generation, compression quality controls, EXIF metadata stripping, auto-resizing, and delivery options.","4":"Deep Media Cleanup &amp; Duplicate Detector: Scan and safely reclaim disk space from unused orphaned media, byte-for-byte MD5 duplicate files, and leftover thumbnails.","5":"Video &amp; Streaming Compression: Tabbed FFmpeg configuration, H.264 FastStart streaming, WebM companion generation, automatic video poster frames, and animated GIF to video conversion.","6":"WordPress Media Library Integration: Compact native list-view controls with Quick Quality popup, real-time savings metrics, format badges, and 1-click restore."}},"plugin_section":[],"plugin_tags":[247378,29158,253777,71058,186483],"plugin_category":[],"plugin_contributors":[220402],"plugin_business_model":[],"class_list":["post-391836","plugin","type-plugin","status-publish","hentry","plugin_tags-avif-converter","plugin_tags-image-optimizer","plugin_tags-media-cleanup","plugin_tags-speed-optimization","plugin_tags-webp-converter","plugin_contributors-devangvachheta","plugin_committers-devangvachheta","plugin_support_reps-devangvachheta"],"banners":{"banner":"https:\/\/ps.w.org\/captain-media-shield\/assets\/banner-772x250.png?rev=3781150","banner_2x":"https:\/\/ps.w.org\/captain-media-shield\/assets\/banner-1544x500.png?rev=3781150","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/captain-media-shield\/assets\/icon-128x128.png?rev=3781150","icon_2x":"https:\/\/ps.w.org\/captain-media-shield\/assets\/icon-256x256.png?rev=3781150","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/captain-media-shield\/assets\/screenshot-1.png?rev=3781150","caption":"Analytics &amp; Server Health Dashboard: Visual storage savings overview, compression ratio, active next-gen formats, and server environment status."},{"src":"https:\/\/ps.w.org\/captain-media-shield\/assets\/screenshot-2.png?rev=3781150","caption":"Bulk Optimizer in Action: One-click batch processing for your existing media library with real-time progress tracking, pause\/resume, and live activity log."},{"src":"https:\/\/ps.w.org\/captain-media-shield\/assets\/screenshot-3.png?rev=3781150","caption":"Next-Gen Images &amp; Formats: Tabbed settings for automated WebP\/AVIF generation, compression quality controls, EXIF metadata stripping, auto-resizing, and delivery options."},{"src":"https:\/\/ps.w.org\/captain-media-shield\/assets\/screenshot-4.png?rev=3781150","caption":"Deep Media Cleanup &amp; Duplicate Detector: Scan and safely reclaim disk space from unused orphaned media, byte-for-byte MD5 duplicate files, and leftover thumbnails."}],"raw_content":"<!--section=description-->\n<p><strong>Captain Media Shield<\/strong> is a comprehensive, on-server media optimization and storage reclaim suite for WordPress. Automatically convert images to lightweight Next-Gen WebP and AVIF formats, compress video uploads with instant streaming (FastStart), and reclaim disk space by safely finding and removing unused media, byte-for-byte duplicate files, and leftover thumbnails.<\/p>\n\n<p>Everything runs 100% on your own hosting server - no external APIs, no image credits, no third-party accounts, and zero monthly subscriptions.<\/p>\n\n<p><a href=\"https:\/\/www.youtube.com\/@captaininfokit\">YouTube Tutorials<\/a> | <a href=\"https:\/\/wordpress.org\/support\/plugin\/captain-media-shield\">Free Support<\/a><\/p>\n\n<p><strong>\ud83d\udee1\ufe0f Why Choose Captain Media Shield?<\/strong><\/p>\n\n<ul>\n<li><strong>100% Free &amp; Unlimited<\/strong> : No third-party API dependencies, no monthly quotas, and no subscription paywalls. Optimize thousands of images and videos without worrying about limits.<\/li>\n<li><strong>Next-Gen WebP &amp; AVIF Formats<\/strong> : Generate ultra-compact WebP and AVIF copies for original images and every registered thumbnail size.<\/li>\n<li><strong>Per-Image Custom Quality Override<\/strong> : Set global compression quality (1-100) or override quality for any individual image directly from the Media Library list view via the Quick Quality modal.<\/li>\n<li><strong>Media Cleanup &amp; Storage Saver<\/strong> : Safely detect and clean orphaned media, byte-for-byte MD5 duplicate files, and leftover legacy thumbnails from retired themes.<\/li>\n<li><strong>Storage Diagnostics &amp; Report<\/strong> : Visual breakdown of your entire uploads directory by file category, file extension, upload year, and largest files.<\/li>\n<li><strong>Video Compression &amp; Streaming<\/strong> : H.264 FastStart streaming, WebM companions, automatic poster frames, and animated GIF to video conversion.<\/li>\n<li><strong>Safe Backups &amp; 1-Click Restore<\/strong> : Untouched original files are preserved with configurable retention periods and 1-click restore.<\/li>\n<li><strong>Modern Tabbed Navigation<\/strong> : Fast, organized tabbed settings interface that eliminates long vertical scrolling.<\/li>\n<li><strong>Top Header Quick Actions<\/strong> : Convenient Save Changes and Reset to Defaults buttons placed right in the header for quick access.<\/li>\n<li><strong>WP-CLI Automation<\/strong> : Complete headless command-line interface for enterprise sites and automated background workflows.<\/li>\n<\/ul>\n\n<p><strong>\ud83d\udcf8 Next-Gen Image Optimization &amp; Delivery<\/strong><\/p>\n\n<ul>\n<li><strong>Automated Next-Gen Conversion<\/strong> : Converts JPEG and PNG uploads to high-efficiency WebP and AVIF copies.<\/li>\n<li><strong>Compression Quality Slider<\/strong> : Choose your default quality sweet spot (1-100) with recommended presets (Balanced, Aggressive, Near-lossless).<\/li>\n<li><strong>Media Library Quick Quality Modal<\/strong> : Click \"Quick Quality\" on any list-view item to adjust quality (e.g. 40-50% for heavy graphics) and re-optimize instantly.<\/li>\n<li><strong>Privacy &amp; EXIF Metadata Removal<\/strong> : Losslessly strips camera EXIF data, GPS coordinates, IPTC, and editing history while preserving colour profiles.<\/li>\n<li><strong>Auto-Resize Large Uploads<\/strong> : Automatically scales down oversized camera images (e.g. 4000px+) before thumbnails are generated.<\/li>\n<li><strong>Flexible Delivery Methods<\/strong> : Serve Next-Gen formats via high-speed <code>.htaccess<\/code> rewrite rules (Apache\/LiteSpeed) or HTML <code>&lt;picture&gt;<\/code> tag replacement.<\/li>\n<li><strong>Nginx Configuration Generator<\/strong> : Ready-to-copy server configuration snippet for seamless Next-Gen delivery on Nginx servers.<\/li>\n<li><strong>Smart Exclude Rules<\/strong> : Exclude folders (e.g. <code>logos\/*<\/code>), filename patterns, or specific attachment IDs from optimization.<\/li>\n<\/ul>\n\n<p><strong>\ud83c\udfac Video Optimization &amp; Streaming (FFmpeg)<\/strong><\/p>\n\n<ul>\n<li><strong>H.264 Video Compression<\/strong> : Re-encodes uploaded MP4\/MOV videos to space-saving H.264 in place.<\/li>\n<li><strong>Moov Atom \"Fast Start\"<\/strong> : Relocates video metadata to the beginning of the file so visitors can stream videos immediately without waiting for full download.<\/li>\n<li><strong>WebM Companion Files<\/strong> : Automatically generates modern VP9\/Opus WebM copies for HTML5 video players and the WordPress video block.<\/li>\n<li><strong>Automatic Video Poster Frames<\/strong> : Saves a lightweight JPEG frame next to each video for an instant preview instead of a black box.<\/li>\n<li><strong>Animated GIF to Video Conversion<\/strong> : Converts heavy animated GIFs into lightweight looping MP4\/WebM videos (80-95% file size reduction).<\/li>\n<li><strong>Resolution &amp; Bitrate Controls<\/strong> : Cap video resolution (1080p, 720p, Keep Original) and adjust audio compression (128 kbps, 96 kbps).<\/li>\n<li><strong>Background WP-Cron Processing<\/strong> : Video encoding runs asynchronously in the background so dashboard uploads stay quick and responsive.<\/li>\n<\/ul>\n\n<p><strong>\ud83e\uddf9 Deep Media Cleanup &amp; Duplicate Detector<\/strong><\/p>\n\n<ul>\n<li><strong>Unused Media Finder<\/strong> : Deep scans post content, Gutenberg blocks, featured images, WooCommerce galleries, widgets, custom post types, and custom fields. Anything potentially in use is protected.<\/li>\n<li><strong>Byte-for-Byte Duplicate Detector<\/strong> : Compares files by exact size and MD5 hash fingerprint. Duplicates in use are safely locked from deletion.<\/li>\n<li><strong>Orphan Thumbnail Cleaner<\/strong> : Scans and removes old thumbnail sizes registered by retired themes or uninstalled plugins.<\/li>\n<li><strong>Zero-Risk Confirmation<\/strong> : Nothing is ever deleted automatically. Deletions require explicit confirmation, and safety backup copies can be retained.<\/li>\n<li><strong>Interactive Storage Report<\/strong> : View storage distribution across original files, thumbnails, Next-Gen copies, and backups.<\/li>\n<\/ul>\n\n<p><strong>\ud83d\udcbe Backups &amp; Safe Rollback<\/strong><\/p>\n\n<ul>\n<li><strong>Zero-Risk Backups<\/strong> : Untouched original files are stored in <code>wp-content\/uploads\/captain-ms-backups\/<\/code>.<\/li>\n<li><strong>Configurable Retention<\/strong> : Set how long backups are kept: immediately delete, 1 hour, 1 day, 7 days, 30 days, or indefinitely.<\/li>\n<li><strong>1-Click Original Restore<\/strong> : Restore any original image or video directly from the Media Library list view or attachment details.<\/li>\n<li><strong>Disk Purge<\/strong> : \"Purge All Backups Now\" button lets you free up backup storage once you are completely satisfied with results.<\/li>\n<\/ul>\n\n<p><strong>\u26a1 WordPress Media Library Integration<\/strong><\/p>\n\n<ul>\n<li><strong>Media Shield Status Column<\/strong> : Displays live optimization status (Optimized, Not Optimized, Processing), percentage saved, and active format badge (WebP\/AVIF).<\/li>\n<li><strong>Inline Quick Actions<\/strong> : Re-optimize, adjust quality via Quick Quality popup, or restore originals with one click without leaving the page.<\/li>\n<\/ul>\n\n<p><strong>Perfect for:<\/strong><\/p>\n\n<ul>\n<li><strong>Content Creators &amp; Bloggers<\/strong> who want lightning-fast page loading and better Google Core Web Vitals (LCP).<\/li>\n<li><strong>WooCommerce Store Owners<\/strong> who need thousands of product images compressed without losing visual sharpness.<\/li>\n<li><strong>Photographers &amp; Portfolio Sites<\/strong> wanting custom per-image compression quality for sensitive portfolio showcases.<\/li>\n<li><strong>Agencies &amp; Developers<\/strong> managing client websites with strict disk space limits and hosting storage quotas.<\/li>\n<li><strong>High-Traffic Media Publishers<\/strong> looking to cut bandwidth costs with WebP\/AVIF and FastStart video streaming.<\/li>\n<\/ul>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li>\ud83d\uddbc\ufe0f <strong>WebP &amp; AVIF Conversion<\/strong> : Automated Next-Gen image format generation for smaller, faster pages<\/li>\n<li>\ud83c\udf9a\ufe0f <strong>Per-Image Quality Override<\/strong> : Set custom compression levels per image via Quick Quality popup or global slider<\/li>\n<li>\ud83e\uddf9 <strong>Deep Media Cleanup<\/strong> : Find and safely remove orphaned media, duplicate files, and obsolete thumbnails<\/li>\n<li>\ud83d\udcca <strong>Storage Report &amp; Analytics<\/strong> : Detailed visual breakdown of uploads by type, year, and largest files<\/li>\n<li>\ud83c\udfa5 <strong>Video Compression &amp; Streaming<\/strong> : H.264 FastStart streaming, WebM companion generation, and resolution capping<\/li>\n<li>\ud83d\uddbc\ufe0f <strong>Video Poster Frames<\/strong> : Instant video thumbnail generation for player previews<\/li>\n<li>\ud83c\udf9e\ufe0f <strong>Animated GIF to Video<\/strong> : 80-95% lighter looping MP4\/WebM conversion for animated GIFs<\/li>\n<li>\ud83d\udee1\ufe0f <strong>Safe Backups &amp; 1-Click Restore<\/strong> : Zero-loss original file preservation with flexible retention<\/li>\n<li>\ud83c\udf10 <strong>Multiple Delivery Methods<\/strong> : Support for Apache\/LiteSpeed <code>.htaccess<\/code>, HTML <code>&lt;picture&gt;<\/code>, and Nginx rules<\/li>\n<li>\ud83d\udeab <strong>Smart Exclude Rules<\/strong> : Skip folders, filename wildcards, or specific attachment IDs<\/li>\n<li>\ud83d\udcd1 <strong>Organized Tabbed Navigation<\/strong> : Clean tabbed settings interface that eliminates vertical scrolling<\/li>\n<li>\ud83d\udd1d <strong>Header Save &amp; Reset Actions<\/strong> : Top-right header actions giving maximum vertical room for content<\/li>\n<li>\ud83d\udda5\ufe0f <strong>WP-CLI Integration<\/strong> : Full command-line support for automated workflows and large libraries<\/li>\n<li>\ud83e\ude7a <strong>Server Health Screen<\/strong> : Real-time diagnostic check for GD, Imagick, WebP, AVIF, and FFmpeg<\/li>\n<li>\ud83c\udf10 <strong>Multisite Compatible<\/strong> : Network activation and subsite management support<\/li>\n<li>\ud83d\udd12 <strong>100% Privacy Focused<\/strong> : Local server processing with no telemetry, external calls, or tracking<\/li>\n<\/ul>\n\n<h3>Supported Formats<\/h3>\n\n<ul>\n<li><strong>Input Image Formats<\/strong> : JPEG, JPG, PNG, GIF<\/li>\n<li><strong>Output Next-Gen Image Formats<\/strong> : WebP, AVIF<\/li>\n<li><strong>Input Video Formats<\/strong> : MP4, MOV, M4V, AVI, MKV, WMV (requires FFmpeg)<\/li>\n<li><strong>Output Video Formats<\/strong> : H.264 MP4 (FastStart streamable), WebM (VP9 \/ Opus)<\/li>\n<\/ul>\n\n<h3>YouTube Tutorials<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/www.youtube.com\/@captaininfokit\">Captain InfoKit - Official YouTube Channel<\/a> : Subscribe to our official YouTube channel for step-by-step video tutorials, media optimization walkthroughs, performance tips, and WordPress server setup guides.<\/li>\n<\/ul>\n\n<h3>\ud83c\udf1f OUR PRODUCTS<\/h3>\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/captain-feed-for-youtube\/\">\ud83e\udd47 Captain Feed for YouTube<\/a><\/strong> : Display customizable YouTube feeds for channels, playlists, Shorts, search results, and individual videos.<\/p>\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/captain-advance-filter\/\">\ud83e\udd47 Captain Advance Filter<\/a><\/strong> : Create powerful filters for WordPress with advanced filtering options, flexible layouts, and easy customization.<\/p>\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/captain-social-review\">\ud83e\udd47 Captain Social Review<\/a><\/strong> : Display reviews and testimonials from multiple platforms with beautiful layouts, filtering options, and easy customization.<\/p>\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/captain-widgets-kit\">\ud83e\udd47 Captain Widgets Kit<\/a><\/strong> : Extend your WordPress website with a collection of powerful widgets and elements designed to enhance your website building experience.<\/p>\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/captain-funnel\">\ud83e\udd47 Captain Funnel<\/a><\/strong> : Automate WhatsApp messages for WooCommerce orders and form submissions using the official WhatsApp Cloud API by Meta.<\/p>\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/captain-live-chat\">\ud83e\udd47 Captain Live Chat<\/a><\/strong> : Self-hosted live chat for WordPress with an AI agent, canned replies and full conversation history - no monthly subscription.<\/p>\n\n<h3>Usage Guide<\/h3>\n\n<ol>\n<li><strong>Configure Image Settings<\/strong> : Go to <strong>Images &amp; Formats<\/strong> and select your preferred compression quality (75-80% is recommended). Enable WebP and AVIF.<\/li>\n<li><strong>Choose Delivery Method<\/strong> : Select <code>.htaccess Rewrites<\/code> (fastest for Apache\/LiteSpeed) or <code>&lt;picture&gt; tag replacement<\/code> (works on all servers).<\/li>\n<li><strong>Run Bulk Optimizer<\/strong> : If you have existing uploads, navigate to <strong>Bulk Optimizer<\/strong> and click \"Start Optimization\". The progress bar will update in real time.<\/li>\n<li><strong>Manage Single Images<\/strong> : In <strong>Media -&gt; Library<\/strong> (list view), use the \"Quick Quality\" button in the Media Shield column to override quality for any image.<\/li>\n<li><strong>Reclaim Disk Space<\/strong> : Go to <strong>Media Cleanup<\/strong> to scan for unused files, duplicates, and old thumbnail sizes, then safely delete what you don't need.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/captain-media-shield<\/code> directory, or install directly through the WordPress <strong>Plugins<\/strong> screen.<\/li>\n<li>Activate the plugin from the <strong>Plugins<\/strong> screen.<\/li>\n<li>Go to <strong>Media -&gt; Captain Media Shield -&gt; Server Health<\/strong> to verify your server environment (GD\/Imagick WebP\/AVIF support and FFmpeg).<\/li>\n<li>Open <strong>Images &amp; Formats<\/strong> to configure your desired format settings, compression quality, and delivery method.<\/li>\n<li>Open <strong>Bulk Optimizer<\/strong> to compress your existing Media Library in batch, or let new uploads optimize automatically.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20set%20different%20compression%20quality%20for%20specific%20images%3F\"><h3>Can I set different compression quality for specific images?<\/h3><\/dt>\n<dd><p>Yes! While the global compression quality slider sets the default quality for all uploads (recommended: 75-80%), you can override quality for any individual image directly in the Media Library list view via the <strong>Quick Quality<\/strong> modal or in the attachment edit screen. You can set aggressive compression (e.g. 40-50%) for heavy banner graphics or near-lossless (90-95%) for sensitive photography.<\/p><\/dd>\n<dt id=\"i%20converted%20my%20images%20but%20i%20cannot%20find%20any%20.webp%20files.%20where%20are%20they%3F\"><h3>I converted my images but I cannot find any .webp files. Where are they?<\/h3><\/dt>\n<dd><p>Converted files are saved directly in your uploads directory alongside the original files with the new extension appended, for example <code>photo.jpg.webp<\/code> and <code>photo.jpg.avif<\/code>. The WordPress Media Library continues to reference the original filename while modern browsers automatically receive the next-gen format.<\/p><\/dd>\n<dt id=\"why%20do%20i%20not%20get%20any%20avif%20files%3F\"><h3>Why do I not get any AVIF files?<\/h3><\/dt>\n<dd><p>AVIF generation requires PHP GD with AVIF support (PHP 8.1+) or ImageMagick 7+ with AVIF delegates compiled. Check the Server Health tab in Captain Media Shield to see your server's status. AVIF copies are also automatically discarded if they do not result in a smaller file size than the WebP version.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20enable%20both%20webp%20and%20avif%3F\"><h3>What happens if I enable both WebP and AVIF?<\/h3><\/dt>\n<dd><p>Both next-gen copies are generated. Visitors with AVIF-compatible browsers receive the ultra-compact AVIF file, other modern browsers receive WebP, and older legacy browsers fall back to the original JPG\/PNG.<\/p><\/dd>\n<dt id=\"my%20woocommerce%20or%20elementor%20images%20still%20load%20as%20jpg.\"><h3>My WooCommerce or Elementor images still load as JPG.<\/h3><\/dt>\n<dd><p>The Picture tag method filters standard WordPress post content and featured images. To serve next-gen formats across all theme elements, sliders, Elementor widgets, and WooCommerce store templates, select the <code>.htaccess Rewrites<\/code> delivery method in <strong>Images &amp; Formats -&gt; Delivery &amp; Server<\/strong>.<\/p><\/dd>\n<dt id=\"does%20the%20.htaccess%20method%20work%20on%20nginx%3F\"><h3>Does the .htaccess method work on Nginx?<\/h3><\/dt>\n<dd><p>Nginx does not read <code>.htaccess<\/code> files. However, Captain Media Shield includes a built-in <strong>Nginx Rules<\/strong> generator in <strong>Images &amp; Formats -&gt; Delivery &amp; Server<\/strong>. Simply copy the snippet into your Nginx server configuration block and reload Nginx, or use the HTML <code>&lt;picture&gt;<\/code> tag method which works on all web servers.<\/p><\/dd>\n<dt id=\"how%20does%20media%20cleanup%20decide%20that%20a%20file%20is%20unused%3F\"><h3>How does Media Cleanup decide that a file is unused?<\/h3><\/dt>\n<dd><p>The scanner searches post and page content, Gutenberg blocks, featured images, WooCommerce gallery arrays, widgets, site icons\/logos, custom taxonomies, and custom post meta. If any reference exists, the file is tagged as in use. Third-party plugins can register custom usage checks using the <code>capms_attachment_usage_reasons<\/code> filter.<\/p><\/dd>\n<dt id=\"is%20it%20safe%20to%20delete%20duplicate%20files%3F\"><h3>Is it safe to delete duplicate files?<\/h3><\/dt>\n<dd><p>Yes. Only copies that are confirmed to have zero active usages can be deleted. If a duplicate is currently referenced in published content, the system marks it as \"In Use\" and prevents deletion until you replace the reference.<\/p><\/dd>\n<dt id=\"do%20i%20need%20ffmpeg%20installed%3F\"><h3>Do I need FFmpeg installed?<\/h3><\/dt>\n<dd><p>FFmpeg is only required for video compression (H.264), WebM generation, automatic video poster frames, and animated GIF to video conversion. All image optimization, WebP\/AVIF generation, and Media Cleanup features function completely without FFmpeg.<\/p><\/dd>\n<dt id=\"can%20i%20restore%20my%20original%20files%3F\"><h3>Can I restore my original files?<\/h3><\/dt>\n<dd><p>Yes! As long as backups are enabled and within your configured retention window, you can restore original files with one click using the <strong>Restore Original<\/strong> button in the Media Library list view or Bulk Optimizer.<\/p><\/dd>\n<dt id=\"will%20optimizing%20images%20affect%20my%20seo%20ranking%3F\"><h3>Will optimizing images affect my SEO ranking?<\/h3><\/dt>\n<dd><p>Yes, in a positive way! By serving WebP\/AVIF and compressing large images, your page loading speed and Google Core Web Vitals (specifically Largest Contentful Paint - LCP) improve significantly, which is a confirmed ranking factor.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20deactivate%20or%20uninstall%20the%20plugin%3F\"><h3>What happens when I deactivate or uninstall the plugin?<\/h3><\/dt>\n<dd><p>Upon deactivation or uninstallation, the plugin cleans up its database tables and scheduled events. Your original media files, converted Next-Gen copies, and backups remain completely untouched on your server unless you choose to purge them.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0 (03\/11\/2026)<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>New: Automated conversion : Automated Next-Gen image conversion (WebP and AVIF) with lossless visual quality retention.<\/li>\n<li>New: Per-image custom compression : Per-image custom compression quality override and inline Quick Quality modal in Media Library list view.<\/li>\n<li>New: Modern tabbed navigation : Modern tabbed navigation on Images &amp; Formats and Video &amp; Streaming settings pages to eliminate page scrolling.<\/li>\n<li>New: Top-right header actions : Top-right header actions with \"Save Changes\", \"Reset to Defaults\", and status notifications.<\/li>\n<li>New: Deep Media Cleanup : Deep Media Cleanup suite - scan and remove unused media, duplicate files (MD5 hash), and obsolete thumbnails.<\/li>\n<li>New: Interactive Storage Report : Interactive Storage Report with space breakdown by file type, upload year, and largest files.<\/li>\n<li>New: Video Optimization : Video Optimization with H.264 compression, FastStart streaming (moov atom first), and WebM companions.<\/li>\n<li>New: Automatic video poster : Automatic video poster image frame generation.<\/li>\n<li>New: Animated GIF conversion : Animated GIF to MP4\/WebM conversion (80-95% lighter looping video).<\/li>\n<li>New: Safe original backups : Safe original backups in wp-content\/uploads\/captain-ms-backups\/ with customizable retention periods.<\/li>\n<li>New: One-click \"Restore Original\" : One-click \"Restore Original\" from Media Library list view and attachment screens.<\/li>\n<li>New: Flexible delivery methods : Flexible delivery methods: Apache\/LiteSpeed .htaccess rewrite rules and HTML  tag replacement.<\/li>\n<li>New: Nginx rewrite rules : Nginx rewrite rules snippet generator for fast server-level delivery.<\/li>\n<li>New: Exclude rules : Exclude rules for upload folders, filename wildcards, and specific attachment IDs.<\/li>\n<li>New: Bulk Optimizer : Bulk Optimizer with real-time progress tracking, pause\/resume, and activity log.<\/li>\n<li>New: Server Health diagnostic : Server Health diagnostic screen checking GD, Imagick, WebP, AVIF, and FFmpeg environment.<\/li>\n<li>New: Extra Options menu : Extra Options menu with dedicated Help &amp; Support center (#\/help) and Our Products showcase (#\/our-products).<\/li>\n<li>New: Full WP-CLI commands : Full WP-CLI commands suite (wp capms).<\/li>\n<li>New: Comprehensive WordPress Multisite : Comprehensive WordPress Multisite (WPMU) support.<\/li>\n<\/ul>","raw_excerpt":"Optimize images and videos on your own server, then reclaim disk space: find unused media, duplicate files and leftover thumbnails. No external API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/391836","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=391836"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/devangvachheta"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=391836"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=391836"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=391836"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=391836"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=391836"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=391836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}