media_bulk_download
No security coverage
This Media Bulk Download module adds a bulk action to the Media Library which allows users with a given permission to download selected media items as a single ZIP archive.
This could be useful where Drupal is used as a DAM system, or when a migration is taking place, or even if certain website media assets are needed for other activity such as social media etc.
This module is designed for Drupal 10.3+ and is ideal for anyone needing a quick way to download multiple media entity files at the same time.
Features
- Adds a "Download selected as ZIP" bulk action to the Media Library (works in both grid and table views).
- Select multiple media items and download them together as a ZIP file.
- The ZIP archive is generated on the server and includes the original files of the selected media entities.
- After the ZIP is created, a status message with a clickable download link is shown.
- The download link is only available to the user who triggered the action and expires after download.
- Uses Drupal's permissions system: only users with the `download bulk media` permission can use this feature.
How It Works
- Select media items in the Media Library view.
- Choose the "Download selected as ZIP" bulk action and apply it.
- The module creates a ZIP archive containing the selected files.
- A status message appears with a link to download the ZIP file.
- Clicking the link downloads the archive; the file is deleted after download.
Installation
- Use composer to install this module.
- Enable the module: `drush en media_bulk_download` or via the Drupal admin UI.
- Assign the `download bulk media` permission to appropriate user roles.
Configuration
- No additional configuration is required.
- The action is automatically available in the Media Library bulk actions dropdown.
Security & Limitations
Community Documentation
Once initial release is ready I will provide a YouTube walkthrough of the functionality this module provides!
Supporting organisation
Pivale are a globally trusted web development company who build Drupal CMS websites and software.