Implement a media/{media}/download route

Created on 29 March 2017, over 7 years ago
Updated 8 November 2023, about 1 year ago

Is there a way to link to media entity uris (ex example.com/media/123) and instead of going to an entity view, just serve the media item so the browser downloads it? I want to support media documents in my site, but I don't want users to have to go to the media page. I also want editors to be able to link to media items in WYSIWYG links or menu links and not worry about the filename changing if the file is replaced.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024