Basic Image Lightbox With Rotate Support - jQuery dreamImage

File Size: 6.81 KB
Views Total: 3757
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Basic Image Lightbox With Rotate Support - jQuery dreamImage

dreamImage is a small, simple jQuery plugin to view the image in a responsive, fullscreen lightbox popup with image rotate support.

How to use it:

1. Load the main JavaScript file dreamimage.js after loading jQuery JavaScript library.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/dreamimage.js"></script>

2. Embed an image to the web page.

<img id="demo" 
     src="1.jpg" 
     title="Image Caption"
     alt="Image Caption" />

3. Call the function on the image and the plugin will do the rest.

$(document).ready(function(){
  $("#demo").dreamimage();
});

Changelog:

2022-02-24

  • Update dreamimage.js

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