Bulk download selected media or attachment files from your Media Library as a zip file. Options include: a) Include / exclude intermediate image sizes …
A ‘Download’ option is added to both List and Grid modes in the Media Library.
Choose the attachments you want to export, click the button, and a zip file of those attachments is created that you can then download.
In List mode the ‘Download’ option appears in the Bulk Actions dropdown. Select the attachments by checking the checkboxes, choose ‘Download’ in the dropdown, then click ‘Apply’.
In Grid mode, first click the ‘Bulk Select’ button. Then click on the attachments you want to download and hit the ‘Download’ button.
Before the zip file is created, you’ll see a) how many files will be downloaded, and b) how big the uncompressed files are.
By default, you are also given the option to:
You can set a maximum (uncompressed) file size to be downloaded in the plugin settings, found in Settings > Media.
By default, zip files are automatically removed in 1 – 2 hours, or you can delete them yourself.
If you want to keep the download files inaccessible to others, you can use the ‘Make downloads secure’ option in Settings > Media.
This creates a .htaccess file in the folder where the download zip files are kept, preventing direct access.
You can also choose to encrypt and password-protect the zip files. However please note that in most cases the standard Windows zip facility
will not be able to open the files – you will need to use something like 7-Zip instead.
However there’s no point in using this feature or the .htaccess one unless you also have some means of preventing direct access to the attachments
themselves in the Uploads folder.
Release date: 7 July 2024
Release date: 10 December 2023
Release date: 6 July 2023
Release date: 7 November 2022
Release date: 1 March 2022
Release date: 24 January 2022
Release date: 24 January 2022
Release date: 18 May 2021
Release date: 4 January 2021
Release date: 6 December 2020
Release date: 12 September 2020
Release date: 19 October 2017
Release date: 22 July 2017
Release date: 15 July 2017
Release date: 25 June 2017
Release date: 12 June 2017
Release date: 12 June 2017
Release date: 1 June 2017
Release date: 19 January 2017
Release date: 19 December 2016
Release date: 7 December 2016
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.Click on ‘Bulk downloads’ under ‘Media’.
To increase the number of attachments you can see on the screen at once,
click on ‘Screen Options’ at the top right of the Media Library and increase the ‘Number of items per page’.
It depends. The theoretical absolute maximum is 999. That’s the maximum you can set for ‘Number of items per page’ in the Media Library (see above).
But there may be other constraints depending on your host setup, such as max script execution time, file size limits and memory limits.
Whether you reach those constraints will depend on the number and size of files you are trying to download in one go.
If you see error messages or your zip file is incomplete or corrupted, try several smaller downloads instead of one big one.
That depends on the number and size of files you are downloading, and also on your host setup.
Try downloading smaller numbers of files to get a feel for how long it takes before attempting a large download.
Permissions are set so that:
* Anyone who has the capability ‘upload_files’ can create downloads.
* A user can download an attachment if that user has permission to edit the attachment.
* Only users who have the capability ‘manage_options’ can download, edit, or delete a download that another user has created.
That means that if the WordPress default roles and capabilities are being used:
* Administrators and editors can download any attachments.
* Authors and contributors can download only those attachments they uploaded.
* Only administrators can download, edit or delete a download created by another user.
Probably because you are using the standard Windows zip facility, which will not work. Try 7-Zip instead.
You may find that Google Chrome gives you a warning and asks you to confirm if you want to download the file.
This is standard behaviour for Google Chrome because the file is a zip file (more info here).
jabd_max_files_size
. Max download file size limit is set in the plugin settings in Settings > Media,jabd_display_passwords
. Whether or not to store and display passwords is set in the the plugin settings in Settings > Media,jabd_zip_password
. Use this filter to amend a zip file password. One scenario might be to use different fixed passwords for different users or user groups,jabd_file_path_rel_to_uploads
. Used to amend the path of an attachment relative to the uploads folder.jabd_include_original_file
. Used to include or exclude the original file. Example to exclude the original :add_filter( 'jabd_include_original_file', 'mytheme_remove_original_file', 10, 2 );
function mytheme_remove_original_file( $include, $image_post ) {
return false;
}
NB if you exclude the original and don’t select intermediate files sizes, you have nothing to download !
jabd_include_intermediate_image_size
. Used to include or exclude intermediate image size. Example to include only medium and large sizes :add_filter( 'jabd_include_intermediate_image_size', 'mytheme_amend_int_sizes', 10, 3 );
function mytheme_amend_int_sizes( $include, $int_size, $image_post ) {
return in_array( $int_size, ['medium', 'large'] );
}