You can active the component by adding
gallery class to an element. With
data-options attribute you can setup/override mode settings. You need to define the image in a
figure tag. You can add
figcaption too to create a title for the gallery item.
data-size and provide a link for the full size image.
Note: the gallery has been extended with an image slider function.
Create gallery from videos, for example embedded YouTube. Use
data-type="video" attribute and add the embedded video elements inside