Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media Alias Display

Security covered Under active development 3,871 sites

This module enables direct viewing of files associated with media entities using their URL aliases, rather than going through the full media entity display. This is particularly useful for linked files like PDFs, ensuring updates to the media object's file are automatically reflected wherever it is referenced.

This module allows for direct viewing of a file with the URL alias. Instead of viewing the media entity and all the fields users can view a file (like a PDF). Instead of sites/default/files/name-of-file it will display the URL alias.

This is useful if a media object is referenced in multiple locations the media object can be updated with a new file and reflected in all instances automatically.

Recommended modules

Installation

Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
for further information.

Configuration

Once the module is installed.

  • Go to /admin/config/media/media-settings and verify "Standalone media URL" is checked.
  • Go to /admin/config/media/media_alias_display to configure what media bundles will use this module.

Tricks

  • If you're viewing a file with an alias and need help finding the media object just append ?edit-media. This will redirect you straight to the media edit page.
Drupal 11 · not 10

Ask your assistant about Media Alias Display

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

  • media_library Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
16
Tracked since
Jan 2023
Latest release
2 weeks ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.11 Stable 9–10 Oct 27, 2023
2.0.x-dev Dev 10 Oct 27, 2023
1.10.11 Stable 9–10 Oct 27, 2023
1.0.10 Stable 9–10 Oct 24, 2023
1.0.9 Stable 9–10 Jul 5, 2023
1.0.8 Stable 9–10 Jan 27, 2023