file_browser
Summary
This module provides a default Entity Browser that lets you browse and select your files in a nice-looking, mobile-ready Masonry based interface, and upload files using the Dropzonejs module.
The purpose of this module is to bring back the Media Library experience from Drupal 7, without requiring users to standardize on contributed projects like File Entity and Media Entity.
Since this module was developed a media entities and libraries have been developed directly within Drupal core and should probably be utilised over the contributed media entity and entity browser modules. However, if your preference is to use the contrib modules or you're minimally migrating to newer versions of Drupal core, this module will continue to work with the latest supported versions.
Requirements
Installation
- Download Entity Browser from Drupal.org
- Download Entity Embed from Drupal.org
- Download Dropzonejs from Drupal.org and follow the install instructions on that page
- Download https://github.com/desandro/imagesloaded/archive/v3.2.0.zip and extract the download to /libraries/imagesloaded (or any libraries directory if you're using the Libraries module).
- Download https://github.com/desandro/masonry/archive/v3.3.2.zip and extract the download to /libraries/masonry (or any libraries directory if you're using the Libraries module)
- Enable File Browser
Installing libraries using Composer
If you maintain a composer.json file for your Drupal project, you can require this module and its dependencies! A fully complete example can be found here: example composer.json file
Other notes
- The example sub-module "File Browser Example" includes a Custom Block/Content Type that uses File Browser components for File, Image, and File Entity Reference fields. Enable the example module if you'd like to quickly see how Entity Browser integration with File Browser can work.
- If you like this module, check out its sister module Content Browser
Screenshots:
Supporting organisations
Pivale are a globally trusted web development company who build Drupal CMS websites and software.
Initial development by Samuel Mortenson