


Lightgallery video blank white install#
The module provides a way to set lightgallery into any image field using a field formatter.Īfter you install a new drupal instance, you'll have two content types, Article and Basic page, the Article content type already has an image field, so let's use it to test. To configure the image field and thumbnail, open up the Lightgallery options settings and mark the image field:Īfter all the view is configured, you can see the results (the default view is looking at any kind of content published with images), open up the /lightgallery path and click on an image to see lightgallery working. The view provided by the module after installing, already has an image field on the FIELDS section. IMPORTANT: To be able to properly use Lightgallery, you'll need to configure an image field. Lightgallery Autoplay settings > Autoplay Lightgallery Thumbnail settings > Width or Lightgallery Thumbnail settings > Height Let's click on Edit button to see more details.Īs you can see the view is a page, you can create a block view of course, this is just an example, the important part is the FORMAT, it's a Lightgallery format, if you click on the Settings link, you'll see all the lightgallery options.Īll the lightgallery behavior can be customized here, on the style options, here are some of the functionalities: This view is installed along with the module. Using the view styleĪfter installing the module, you can check the admin/structure/views page, you'll see a new view called lightgallery. There're two ways to use the lightgallery, using a view style and a field formatter.
