Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Media Download

1,576 sites Security covered Drupal 10–11
View on drupal.org

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

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
3
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core 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