Media Formatters

Categories

Component ID

2424957

Component name

Media Formatters

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1402

Component created

Component changed

Component body

Control all of your media display from the Node Display page. Easily add modern, best-practices front-end enhancements for media. Out of the box, it works well with Bootstrap-based themes, but it can be easily extened to work with other custom themes as well.

Features:

Installation

1) Download the module, install as normal
2) Install the dependency libaries to sites/all/libraries (or similar):

cd sites/all/libraries
git clone https://github.com/aFarkas/lazysizes
git clone https://github.com/ashleydw/lightbox.git

3) Add File or Image fields and customize them to use the media formatters

Field formatters provided:

  • Nice icons - Displays thumbnails for images and video, and icons (based on fontawesome/glyphicon icons) for other files
  • Lazy-load - For images. Allows you to select Image Styles for various viewports. Uses using lazysizes.
  • Lightbox - For images. Using Bootstrap Lightbox.
  • Click-to-play - For videos.
  • Flexible media - A super combination of the fields above. It works for Files (of all types). Allows you to select image styles for images, click-to-play for video, and Media display mode for generic media.