In this article
All of our themes fully support the fancybox plugin, a responsive, touch-enabled lightbox plugin that supports various types of media. To start using image, gallery or video lightboxes in your Help Center, enable lightboxes within the Article page elements setting section in your theme’s settings.
Present images using fancybox using a thumbnail image that links to a larger image:
You can group images into a gallery by giving them the same unique
<a href="image-1.jpg" data-fancybox="gallery" data-caption="Caption for the first image"> <img src="thumbnail-1.jpg" alt="" /> </a> <a href="image-2.jpg" data-fancybox="gallery" data-caption="Caption for the second image"> <img src="thumbnail-2.jpg" alt="" /> </a>
YouTube, Vimeo and HTML5 videos can be used with fancybox by providing the URL. The example below uses an image as a video thumbnail.
To learn about additional media types, access descriptions of more advanced use cases and view the complete set of available options, refer to the fancybox documentation.
Lightbox functionality can be used in your page templates or in article and post content by editing the underlying code in the Source Code () editor.