September 2017

How to use Media Entity asset as a background image

Submitted by drupalviking on Wed, 09/13/2017 - 14:33

So, I have been using the new Media Entity module, along with some of the other media modules on some websites, and generally I like it. I find it awesome to be able to create different Entity Browsers, based on tagging, so if I'm adding hero images to my Hero Image block, my entity browser can have a special view.

In order to use the Hero image from my block as a background image, I had to Google a little. Hence my post, I wanted to document what I did, if for nothing else, my own reference. So here we go.