Drupal is a registered trademark of Dries Buytaert

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

  1. Select media items in the Media Library view.
  2. Choose the "Download selected as ZIP" bulk action and apply it.
  3. The module creates a ZIP archive containing the selected files.
  4. A status message appears with a link to download the ZIP file.
  5. Clicking the link downloads the archive; the file is deleted after download.

Installation

  1. Use composer to install this module.
  2. Enable the module: `drush en media_bulk_download` or via the Drupal admin UI.
  3. 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

  • Only users with the correct permission can use the bulk download feature.
  • The ZIP file is stored temporarily and deleted after download.
  • The action does not auto-download; users must click the provided link.
  • The module does not support redirecting or auto-downloading due to Drupal's bulk action 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.

    Activity

    Total releases
    1
    First release
    Mar 2026
    Latest release
    11 hours ago
    Release cadence
    Stability
    0% stable

    Releases

    Version Type Release date
    1.x-dev Dev Mar 5, 2026