Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media Download

Security covered Under active development 1,802 sites

This module enables direct downloads of media files from their canonical paths. It ensures that media entities are served as direct downloads with configurable content-disposition settings.

Introduction

This module aims to facilitate the direct download of media entities from their canonical path.

After installing this module, all media entities will serve their source field as a direct download using an inline content-disposition. It's also possible to serve media using an attachment content-disposition.

Configuration

This module does not have any configuration.

Security Considerations

This module delegates access control to Drupal core's media module, which allows blanket access to view all media entities. If custom access controls are needed, consider writing a module to implement hook_ENTITY_TYPE_access().

Internal API Notice

This module does not intentionally expose any API meant to be used by other contributed modules. Semantic versioning is used, but only to convey meaning with regard to the functionality provided to sites.

Until such time that this module wishes to provide a public API, all interfaces are to be assumed for internal use only (unless otherwise explicitly stated).

Similar Modules

Drupal 10–11

Ask your assistant about Media Download

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • file Drupal core
  • media Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jun 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.3.3 Stable 10–11 Feb 10, 2025
1.3.2 Stable 10–11 Jan 29, 2025
1.3.1 Stable 10–11 Jan 29, 2025
1.3.0 Stable 10–11 PHP 8.1 Jun 10, 2024
1.4.x-dev Dev 10–11 PHP 8.1 Jun 10, 2024