# Documentation v8.0.38

Preview Downloads Purchase

# Overview

Fullscreen Lightbox, is en easy to use, but powerful plugin for displaying various types of sources in beautiful overlaying box with tons of features such as captions, thumbnails, zooming and more! Present single source or create beautiful gallery with stylish lightbox without jQuery! For more info see the official siteand the Github repository.

# Usage

Fullscreen Lightbox's Javascript files are bundled in a custom bundle file and included on demand as shown below:

    <script src="assets/plugins/custom/fslightbox/fslightbox.bundle.js"></script>

# Initialization

- Fullscreen Lightbox's CSS is highly customized in `sass/vendors/plugins/_fslightbox.scss`SCSS file in order to use it as a native component within the design system. The SCSS code is compiled into `assets/plugins/global/plugins.bundle.css`and globally included in all pages.

# Basic

Every `<a>`tag with `data-fslightbox`attribute opens a lightbox. Value of href attribute will be shown in your box.

    <!--begin::Overlay-->
    <a class="d-block overlay" data-fslightbox="lightbox-basic" href="assets/media/stock/900x600/23.jpg">
        <!--begin::Image-->
        <div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px"
            style="background-image:url('assets/media/stock/900x600/23.jpg')">
        </div>
        <!--end::Image-->

        <!--begin::Action-->
        <div class="overlay-layer card-rounded bg-dark bg-opacity-25 shadow">
            <i class="bi bi-eye-fill text-white fs-3x"></i>
        </div>
        <!--end::Action-->
    </a>
    <!--end::Overlay-->

# Video

Fullscreen Lightbox supports, Youtube, HTML5 and videos from custom sources as well(Vimeo, etc):

    <!--begin::Youtube-->
    <a
        class="d-block bgi-no-repeat bgi-size-cover bgi-position-center rounded position-relative min-h-175px"
        style="background-image:url('assets/media/stock/600x400/img-23.jpg')"
        data-fslightbox="lightbox-youtube"
        href="https://www.youtube.com/embed/xshEZzpS4CQ"
        >
        <!--begin::Icon-->
        <img src="assets/media/svg/misc/video-play.svg"  class="position-absolute top-50 start-50 translate-middle" alt=""/>
        <!--end::Icon-->
    </a>
    <!--end::Youtube-->

    <!--begin::HTML5-->
    <a
        class="d-block bgi-no-repeat bgi-size-cover bgi-position-center rounded position-relative min-h-175px"
        style="background-image:url('assets/media/stock/600x400/img-25.jpg')"
        data-fslightbox="lightbox-html5"
        href="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
        >
        <!--begin::Icon-->
        <img src="assets/media/svg/misc/video-play.svg"  class="position-absolute top-50 start-50 translate-middle" alt=""/>
        <!--end::Icon-->
    </a>
    <!--end::HTML5-->

    <!--begin::Custom source(Vimeo)-->
    <a
        class="d-block bgi-no-repeat bgi-size-cover bgi-position-center rounded position-relative min-h-175px"
        style="background-image:url('assets/media/stock/600x400/img-26.jpg')"
        data-class="d-block"
        data-fslightbox="lightbox-vimeo"
        href="#vimeo"
        >
        <!--begin::Icon-->
        <img src="assets/media/svg/misc/video-play.svg"  class="position-absolute top-50 start-50 translate-middle" alt=""/>
        <!--end::Icon-->
    </a>

    <iframe id="vimeo" style="display:none" src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px" frameBorder="0" allow="autoplay; fullscreen" allowFullScreen></iframe>
    <!--end::Custom source(Vimeo)-->

### Explore

### Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single SaaS app with paying users
$ 969
Custom License
Reach us for custom license offers.
Contact Us
Buy Now

### Metronic Demos

Demo 1
Demo 2
Demo 3
Demo 4
Demo 5
Demo 6
Demo 7
Demo 8
Demo 9
Demo 10
Demo 11
Demo 12
Demo 13
Demo 14
Demo 15
Demo 16
Demo 17
Demo 18
Demo 19
Demo 20
Demo 21
Demo 22
Coming soon
Coming soon

##### Learn & Get Inspired

## Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Documentation & Videos
From guides and video tutorials, to live demos and code examples to get started.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
Metronic Downloads
Download your prefered framework and demo with one click.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now