What is the Media tree?

The Media tree is a custom built feature which displays all files in the media library with a hierarchical sidebar which lists available media directories. The Media tree builds upon core Drupal features, merging search and filter functionality from the Content administration menu and the hierarchical view of media directories to create a powerful and user-friendly way for editors to manage their media and media folders.

 


How does the Media tree work?

The Media tree allows editors to view media items in the root node and in media directories, including the ability to search and filter to find specific media items.

Screenshot of the media tree

The sidebar of the Media tree displays the media directories (also known as folders), including any nested directories. Search functionality is available to refine the directories to allow editors to quickly navigate the structure. 

Organise your media

The Media tree allows editors to drag and drop media items into directories, making it the perfect tool to help you to organise your media library. To relocate media items, click and hold the datagrid icon (the 6 dots) and drop the media item over the desired directory in the sidebar.


Searching in the sidebar

When performing a text search in the sidebar, matching results will be displayed including their parent structures so that editors can differentiate directories with similar names.

Screenshot of the media tree search

 


Navigating the Media tree

In the main section, editors are able to click column headers to apply sorting. 

The Media tree displays the following columns:

  1. Title - the menu link title added to the link from Structure > Menus > [Menu name]
  2. Type - the type of media item
  3. Author - the creator of the media item
  4. Published - whether the media item is published or not
  5. Last Updated - the last updated date and time for the media item
  6. Edit action - loads the edit media form for the selected media item