Glightbox

Overview Official Website

Glightbox is a touchable Pure Javascript lightbox with images and video support.

CSS
<!-- glightbox css -->
<link rel="stylesheet" href="{{ URL::asset('build/libs/glightbox/css/glightbox.min.css') }}">
Javascript
<!-- glightbox js -->
<script src="{{ URL::asset('build/libs/glightbox/js/glightbox.min.js') }}"></script>
Initjs (Custom js)
<!-- gallary init -->
<script src="{{ URL::asset('build/js/pages/gallery.init.js') }}"></script>
Add Package
npm i glightbox --save
Remove Package
npm unistall glightbox or you can remove package by removing specific package from package.json
Examples
Title Javascript
Demo
var lightbox = GLightbox({
    selector: '.image-popup',
    title: false,
}); 
© Velzon.
Design & Develop by Themesbrand