A Small Library for a Gallery Lightbox on Websites | JavaScriptGallery

JavaScriptGallery is A responsive, easy-to-use, user-friendly jQuery gallery lightbox plugin designed to provide an elegant image viewing experience on the webpage.

grid gallery with lightbox popup, dynamic image gallery, lightbox gallery demo, how to create dynamic gallery, wordpress gallery lightbox, responsive gallery with lightbox

Add preview Images

  • Add #preview to the end of the Image url.
  • Add a smaller preview Image to the same path ({original_name}-preview.{original_file_extension})

.jpeg; .png; .jpg and .webp are supported

How to make use of it:

1. Load the Gallery.js plugin’s information within the doc.

<!-- jQuery & jQuery UI -->
<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/cdn/jquery-ui.min.js"></script>

<!-- jQuery Gallery.js Plugin -->
<link rel="stylesheet" href="/path/to/gallery.min.css" />
<script src="/path/to/gallery.min.js"></script>

2. Create a container to carry the picture gallery.

<div class="Gallery"></div>

3. Add photos and a headline to the Gallery.

json = '{ "Entry": { "Title": "Gallery Tigle", '+
       '"Image": ["1.jpg",'+
       '"6.jpg" ] } }';

4. Determine whether or not to allow additional buttons (social media, zoom, picture link, and so on).


5. Set the transition impact you like:

  • opacity
  • zoomin
  • slide
  • slideAndZoom
  • slideZoom
  • ZoominFast
  • bounce
  • puffzoom

6. Set the gallery model you like:

  • tiles
  • center
  • Circles
  • full

7. Determine whether to auto-set the gallery width on window resize.


8. Set the background colour of the gallery lightbox.


Dynamic Gallery Lightbox In jQuery, JavaScriptGallery Plugin/Github, dynamic photo gallery

See Demo And Download

Official Website(marcelbohland): Click Here

This superior jQuery/javascript plugin is developed by marcelbohland. For extra Advanced Usages, please go to the official website.

Related Posts


[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[fontawesome.com], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…


Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…


A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…


Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…


jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…


Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…