Basic jQuery Image Lightbox Plugin - PopUp Image

File Size: 1.36 MB
Views Total: 1718
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Basic jQuery Image Lightbox Plugin - PopUp Image

PopUp Image is a super lightweight jQuery plugin used to display images in a modal-style popup window with basic show/hide animations.

Basic Usage:

1. Include jQuery library and the jQuery popup image plugin in the document.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery.popupimg.js"></script>

2. Insert an image into your document.

<img src="images/1.jpg" class="popupimg">

3. Call the plugin and you're done.

$('.popupimg').popupimg({
  'show': 600, // animation speed in ms
  'hide': 300
});

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