Responsive-Lightbox is a lightweight jQuery library designated for creating a responsive gallery panels. The plugin automatically shrinks the image to the width & height of the browser. It was designed to showcase images only, without additional functionality to present other media files. This means the plugin is super small (3.39 KB min version) and does what it should perfectly.
2. Plugin Overview
|Dependencies||jQuery 1.9.1 or Latest version|
3. How to install and use Responsive-Lightbox jQuery plugin
In order to install Responsive-Lightbox jQuery plugin, follow below steps.
1. Load jQuery and Responsive-Lightbox assets (CSS styles and JS files) into your website:
2. Create your gallery with the following HTML structure:
3. Initialize Responsive-Lightbox in jQuery document ready function:
Responsive-Lightbox plugin after initialization will create a lightbox-like gallery with buttons to display next/previous image.
In this article, we showcased Responsive-Lightbox jQuery plugin created for image gallery. The plugin is perfect for web designers who want to present their work on portfolio websites. It can be useful also in e-commerce websites to showcase product photos.