### Install fslightbox via npm Source: https://github.com/banthagroup/fslightbox/blob/master/README.md Install the package using npm, then import it in your JavaScript file with require. ```bash npm install fslightbox ``` ```javascript require("fslightbox") ``` -------------------------------- ### Basic usage with gallery links and custom source Source: https://github.com/banthagroup/fslightbox/blob/master/README.md Create a gallery by adding data-fslightbox attributes to links. The example includes an image, a YouTube video, an HTML video, and a custom Vimeo source via an iframe with id 'vimeo'. ```html Open the first slide (an image) Open the second slide (a YouTube video) Open the third slide (an HTML video) Open the fourth slide (a Vimeo video—a custom source) ``` -------------------------------- ### Include fslightbox.js script in HTML Source: https://github.com/banthagroup/fslightbox/blob/master/README.md Add the script tag just before the end of the body tag to load the lightbox plugin. ```html ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.