Back to top anchor

Goodbye media browser - welcome media library

Sector Starter kit
Media management

With the Drupal 8.8 release, one of the last Sector media roadmap milestones is met - the new stable media library in core! 

As part of our ongoing quest to reduce technical debt and get ready for Drupal 9, we decided to adapt the media library release in our first 8.8-compatible Sector release.

A new look with fewer clicks 

The new media library makes it easy to add new media to your site or find media you already uploaded. The new core library replaces the Sector media browser with a robust, easy to use, and customisable interface. 

Screenshot of media library with highlighted sections

The new media library in Sector.

One button to rule them all

The new single media button in the WYSIWYG toolbar replaces the previous three custom buttons for images, files, and videos

Screenshot of WYSIWYG editor with highlighted button

The new media button in the WYSIWYG toolbar.

For entity reference fields, the previous 'Select image' button is now just 'Add media' and can be configured to work with images, files, and videos. 

Screenshot of related files field

New 'Add media' button for entity reference fields

Easier to maintain for site builders 

Behind the scenes, the new media library configuration allows us to combine four Sector media browsers into one media library - this cuts down on time for both maintaining sites and training site builders.

Now that the custom media embed buttons in the WYSIWYG toolbar are obsolete, three sets of configuration have been combined into one.

All in all, the media library configuration is straightforward and easy to understand, and helps us to create a consolidated and consistent experience for site builders. 

Cut down on contributed modules and custom code

The update is also good news for our ongoing quest to reduce technical debt. We can now deprecate contributed modules - Media Entity Browser, as well as its dependencies Entity Browser and Inline Entity Form, and the Video Embed Field

Documentation updates around the new media library

We are working through the Sector documentation and editor guides to get all the changes around the media library in. Until this is done, please see our guide on Working with the new media library and more about the media library on Drupal.org.

So, goodbye media browser - welcome media library! 

Staff image

Heike Theis

Heike is part of the Sector team at Sparks Interactive and, together with Dave Sparks, the project owner for the Sector Drupal Distribution. 

Browse the archives

More blog posts

Sector 10 is coming!

Find out more in our Sector 10 roadmap.

Need Help?

Sector is brought to you by Sparks Interactive - supporting Sector from Wellington and Auckland

Open Source award winner!

Sparks Interactive are delighted to accept the Open Source Use in Business award for Sector and the Sector.nz open source platform.

Subscribe for Sector updates