Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Extends the Media module by allowing you to specify a default directory for files uploaded via the media browser. Defaults are set per media type, and these defaults apply to uploads from both the admin/content/media page and the WYSIWYG Media plugin. The defaults will also be used for file and image fields that use the media file selector widget, unless the field's "File directory" option has been set.
See the following issues for more information on problem that this module addresses:
- #1243006: Uploading a textarea image to a particular folder
- #1096374: Provide administrator with ability to customize upload directory, globally and per-field, with token integration
- #1201924: Widget does not respect settings in file_field_instance_settings_form (uri scheme, directory, extensions, file size)