Minimalist Image Lightbox Plugin For jQuery - Humble Lightbox

Minimalist Image Lightbox Plugin For jQuery - Humble Lightbox
File Size: 11.1 KB
Views Total: 1623
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Humble Lightbox is a dead simple and responsive jQuery lightbox plugin for presenting your favorite images that automatically expand and shrink to fit within the viewport size.

How to use it:

1. Add jQuery library together with the jQuery Humble Lightbox plugin's JS and stylesheet to the webpages.

<link href="css/humbleLightBox.css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="js/humbleLightBox.js"></script>

2. Add the CSS class 'humbleLightbox' to any image you want to present.

<img src="1.jpg" alt="Image 1" class="humbleLightbox">

3. That's it. The plugin will automatically display the image in a fullscreen lightbox on click and Change the image size when the screen gets larger or smaller.

Change log:

2016-09-27

  • Modified overlay behavior

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