PhotoSwipe — The best Lightbox JS plugin
I recently came across a Lightbox JavaScript photo library called PhotoSwipe. It is by far my favorite ligthbox plugin. It’s light, responsive, touch-enabled, and most importantly modular. It runs smoothly in mobile browsers. You can even swipe through images with your fingers as you would in a native app, and the transition runs really smooth. And many more hand touch gestures included.
Benefits
- Low-resolution images are instantly displayed and then stretched to full size.
- Images display progressively as data arrives, displayed before they fully load.
- Smart lazy-loading of images.
- Responsive Images Support.
- Full-screen and social sharing of images support.
- Zooming of images capability.
- Best part no dependency.
Recently, I had posted on lazy loading of images using layzr.js. But, this js plugin is far the best lightbox I have come across. The downside lies if your not a developer or if you have no JS knowledge. As this plugin has no dependency of jQuery or so. But, it has a well documented documentation which will you to install it in your project in no time.