Simplest jQuery Gallery Lightbox Plugin - VergeGallery

Simplest jQuery Gallery Lightbox Plugin - VergeGallery
File Size: 5.17 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

The VergeGallery jQuery plugin helps you create a photo gallery which allows you view large images in a lightbox popup when clicking on the thumbnails. When the lightbox is opened, navigating to the previous/next image can be achieved by clicking on the next/prev buttons.

How to use it:

1. Add the jQuery VergeGallery plugin's script to the webpage, after you've added jQuery library.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="verge_gallery.js"></script>

2. Add your images into a DIV container as follow.

<div class="gallery">
  <img src="1.jpg">
  <img src="2.jpg">
  <img src="3.jpg">
  ...
</div>

3. Just call the function and you're done.

$('.gallery').VergeGallery();

This awesome jQuery plugin is developed by enzo-bc. For more Advanced Usages, please check the demo page or visit the official website.