Minimalist Image Viewer/Lightbox Plugin with jQuery

Minimalist Image Viewer/Lightbox Plugin with jQuery
File Size: 254 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

imgViewer is a simplest jQuery image viewer plugin which enables you to display large images in a modal style lightbox with a close button.

How to use it:

1. Include jQuery library and the jQuery imgViewer plugin on your Html page.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="imgViewer.js"></script>

2. Insert images into your html page.

<img class="viewer-item" src="demo.jpg">

3. Enable the image lightbox plugin on your images.

$.bindViewer(".viewer-item");

Change logs:

2015-02-05

  • improve mask layer.

2015-01-29

  • supports binding to dynamic element.

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