{"id":242191,"date":"2025-11-04T03:18:18","date_gmt":"2025-11-04T03:18:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/export-media-as-zip\/"},"modified":"2026-04-02T11:28:19","modified_gmt":"2026-04-02T11:28:19","slug":"export-media-as-zip","status":"publish","type":"plugin","link":"https:\/\/ibo.wordpress.org\/plugins\/export-media-as-zip\/","author":3354891,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7","stable_tag":"1.7","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Export Media as ZIP","header_author":"Huzoor Bux","header_description":"Adds an admin page under Media to export all images as a ZIP file.","assets_banners_color":"c8caca","last_updated":"2026-04-02 11:28:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/huzoorbakhsh.com","rating":0,"author_block_rating":0,"active_installs":200,"downloads":1358,"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":"huzoorbakhsh","date":"2025-11-04 03:18:23"},"1.5":{"tag":"1.5","author":"huzoorbakhsh","date":"2025-12-09 03:34:47"},"1.7":{"tag":"1.7","author":"huzoorbakhsh","date":"2026-04-02 11:28:19"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3389312,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3389312,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3389312,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.5","1.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3389312,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3389312,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3389312,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Export page with Year and Image Size filter dropdowns","2":"Real-time progress bar during export","3":"Download ready with export summary"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[151,196772,1859,84,7343],"plugin_category":[50,59],"plugin_contributors":[250219],"plugin_business_model":[],"class_list":["post-242191","plugin","type-plugin","status-publish","hentry","plugin_tags-backup","plugin_tags-download-images","plugin_tags-export","plugin_tags-media","plugin_tags-zip","plugin_category-media","plugin_category-utilities-and-tools","plugin_contributors-huzoorbakhsh","plugin_committers-huzoorbakhsh"],"banners":{"banner":"https:\/\/ps.w.org\/export-media-as-zip\/assets\/banner-772x250.jpg?rev=3389312","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/export-media-as-zip\/assets\/icon-128x128.png?rev=3389312","icon_2x":"https:\/\/ps.w.org\/export-media-as-zip\/assets\/icon-256x256.png?rev=3389312","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/export-media-as-zip\/assets\/screenshot-1.png?rev=3389312","caption":"Export page with Year and Image Size filter dropdowns"},{"src":"https:\/\/ps.w.org\/export-media-as-zip\/assets\/screenshot-2.png?rev=3389312","caption":"Real-time progress bar during export"},{"src":"https:\/\/ps.w.org\/export-media-as-zip\/assets\/screenshot-3.png?rev=3389312","caption":"Download ready with export summary"}],"raw_content":"<!--section=description-->\n<p><strong>Export Media as ZIP<\/strong> is a lightweight plugin that lets administrators export images from the WordPress media library as a ZIP file. Choose exactly what to download using the year and image size filters before exporting.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li>Export JPG, PNG, GIF, JPEG, and WEBP images<\/li>\n<li><strong>Filter by year<\/strong> \u2014 select one or more upload years to narrow the export<\/li>\n<li><strong>Filter by image size<\/strong> \u2014 choose from Full Size (original) or any intermediate size registered by WordPress core, your active theme, or plugins (e.g. Thumbnail, Medium, Large, custom sizes)<\/li>\n<li>Live export preview shows how many images match the current filters before you start<\/li>\n<li>Real-time progress bar during export<\/li>\n<li>Auto-expiring ZIP file \u2014 cleaned up automatically after 5 minutes<\/li>\n<li>Admin-only access<\/li>\n<li>No external dependencies<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>If you have any questions or need help, please open an issue on GitHub or contact me at huzoorbux@gmail.com.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/export-media-as-zip<\/code> or install via the WordPress Plugin Directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>Media &gt; Export Media as ZIP<\/strong>.<\/li>\n<li>Use the <strong>Year<\/strong> and <strong>Image Size<\/strong> dropdowns to select what to export.<\/li>\n<li>Click <strong>Export Images<\/strong> and download the generated ZIP.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"who%20can%20access%20the%20export%20feature%3F\"><h3>Who can access the export feature?<\/h3><\/dt>\n<dd><p>Only users with the <code>manage_options<\/code> capability (administrators) can access the export page.<\/p><\/dd>\n<dt id=\"what%20file%20types%20are%20included%3F\"><h3>What file types are included?<\/h3><\/dt>\n<dd><p>Only image files \u2014 <code>.jpg<\/code>, <code>.jpeg<\/code>, <code>.png<\/code>, <code>.gif<\/code>, and <code>.webp<\/code>.<\/p><\/dd>\n<dt id=\"what%20image%20sizes%20can%20i%20export%3F\"><h3>What image sizes can I export?<\/h3><\/dt>\n<dd><p>You can export the original uploaded file (Full Size) and any intermediate size WordPress has generated for that image. The available sizes depend on your active theme and plugins. The plugin uses <code>wp_get_registered_image_subsizes()<\/code> to list all registered sizes automatically.<\/p><\/dd>\n<dt id=\"can%20i%20export%20images%20from%20a%20specific%20year%20only%3F\"><h3>Can I export images from a specific year only?<\/h3><\/dt>\n<dd><p>Yes. The Year filter shows all years that have image uploads, with a count per year. Select one or more years before exporting.<\/p><\/dd>\n<dt id=\"where%20is%20the%20zip%20file%20stored%3F\"><h3>Where is the ZIP file stored?<\/h3><\/dt>\n<dd><p>The ZIP is written temporarily to your uploads directory and deleted automatically after 5 minutes via a scheduled WP-Cron event.<\/p><\/dd>\n<dt id=\"will%20it%20export%20every%20size%20variant%20of%20every%20image%3F\"><h3>Will it export every size variant of every image?<\/h3><\/dt>\n<dd><p>Only sizes you check in the Image Size dropdown are included. If an intermediate size was never generated for a particular image, that file is silently skipped.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added Year filter \u2014 export images from one or more specific upload years<\/li>\n<li>Added Image Size filter \u2014 choose Full Size (original) and\/or any intermediate size registered by the theme or plugins<\/li>\n<li>Live export preview shows image and size count before starting<\/li>\n<li>Replaced flat checkbox layout with dropdown-style filter UI<\/li>\n<li>Export now uses WP_Query against the database instead of filesystem scanning, ensuring only real media library attachments are included<\/li>\n<li>Uses wp_get_registered_image_subsizes() (WP 5.3+) with fallback for older installs<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added media library statistics panel (total images, total size, file type breakdown)<\/li>\n<li>Added real-time progress bar with file counter<\/li>\n<li>Added auto-cleanup of expired ZIP files via WP-Cron<\/li>\n<li>Improved error handling and user messaging<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Tested up to WordPress 6.9<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Export images from your WordPress media library as a ZIP file \u2014 filter by year and image size before downloading.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/242191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=242191"}],"author":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/huzoorbakhsh"}],"wp:attachment":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=242191"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=242191"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=242191"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=242191"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=242191"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=242191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}