Add data-lightbox
attribute to a html element with link to set default lightbox plugin. You can set the image source with href attribute.
Add multiple images into a gallery with data-lightbox='{"gallery": "name"}'
attribute. You can add multiple galleries with custom gallery names.
Use data-lightbox='{"disqus": true}'
or data-lightbox='{"facebook": true}'
to add comment section to the lightbox plugin.
It is also possible to add youtube or twitch video to the lightbox just use the full url of video like in the example below.
Open youtubeOpen twitch