8 Top Free JavaScript Libraries for Lightbox

8 Top Free JavaScript Libraries for Lightbox

Lightbox is one popular way to overlay images on the web. When you click on an image, the Lightbox pops up with some form of animation and dims the background so your focus is on the image itself. The image is also larger in scale. Most popular Lightbox JavaScript libraries that we have known for years let you do this well on a desktop, but not so much on mobile platforms.

Neglecting this, and the need for responsiveness, is not a good idea nowadays, which is why this collection of 15 responsive Lightbox libraries must be checked out.

01. PhotoSwipe :

PhotoSwipe is by far my favorite ligthbox plugin. It’s light, touch-enabled, and most importantly modular which allows me to ditch a few parts that is not needed. It runs nicely in mobile browsers. You can swipe through images with your fingers as you would in a native app, and the transition runs really smooth.

  • Dependency: None
  • Browser Support: IE8+, Chrome, Firefox, Safari, Opera, and a couple of mobile browsers.
  • License: MIT license

02. MagnificPopup :

MagnificPopup is another lightbox plugin, developed by the same person that gave us PhotoSwipe, Dmitry Semenov. It comes in the form of a jQuery/Zepto plugin, and also brings capabilities that are missing in PhotoSwipe such as support for Video, Map, and Ajax content. This is a great alternative for those who prefer having more features at hand.

  • Dependency: jQuery 1.9.1+, or Zepto.js
  • Browser Support: IE7 (partially), IE8+, Chrome, Firefox, Safari, and Opera.
  • License: MIT license

03. iLightbox :

iLighbox is a jQuery lightbox plugins with a wide range support of media types: including videos, Flash / SWF, Ajax content, iframe and maps. This plugin also adds social media buttons on top of the media, allowing your users to share it to Facebook, Twitter or Reddit. Also check out the advanced section to see how iLightbox can be applied in different scenarios.

  • Dependency: jQuery
  • Browser Support: IE7+, Chrome, Firefox, Safari, and Opera
  • LicenseUndefined

04. Nivo Lightbox :

Nivo Lightbox is a flexible lightbox plugin. Several options are included to change the appearance into the way you like it to appear, such as changing the theme, the transition effect, and switching the navigation.

  • Dependency: jQuery
  • Browser Support: IE9+, Chrome, Firefox, Safari, and Opera
  • License: MIT license

05. LightCase :

Lightcase is a lovely lightbox plugin. It comes with several animations that makes user interaction come alive, like fade, elastic zoom and scrolling. Furthermore, it also supports various types of media including Youtube embed, HTML videos, SWF and input forms. The plugin also properly handles media cannot be reached or found errors

  • Dependency: jQuery
  • Browser Support: IE9+, Chrome, Firefox, Safari, and Opera
  • License: GPL license

06. FeatherLight :

The 6kb Featherlight is a bare plugin for savvy developer and carries only the essentials. If you need, for example, to group image lightbox in a gallery, you can include the gallery extension. You can also develop your own extension for this plugin to fit in your project needs.

  • Dependency: jQuery
  • Browser Support: IE8+, Chrome, Firefox, Safari, and Opera
  • License: MIT license

07. LightLayer :

LightLayer is an easy to use lightbox plugin. It has a handful of options, custom JavaScript methods, and custom events. the plugin works with images, videos, maps, and external content. What’s more can we ask.

  • Dependency: jQuery
  • Browser Support: IE9+, Chrome, Firefox, Safari, and Opera
  • License: MIT license

08. FluidBox :

Fluidbox is an image lightbox plugin that is inspired from Medium. It works with images under various circumstances including floating image, image with absolute position, images that have border and padding, and galleries. Check out how it was built. If you need a WordPress plugin, there is one.

  • Dependency: jQuery
  • Browser Support: IE9+, Chrome, Firefox, Safari, Opera
  • License: MIT license

Fancy you stumbling on my piece of the internet. Bonjour!

My name is Anmol and I'm the Blogger-In-Chief of this joint & working as the Chief Technology Officer at Azoora, Inc. I'm putting up my views here trying to help creative solopreneurs, developers & designers build their business using the power of websites, apps & social media, this, is, my jam.

If you're looking to start your own online business with a professional high quality website or mobile app, just get in touch. I'd be more than happy to assist.

SKYPE | FACEBOOK | LINKEDIN | TWITTER | EMAIL

Leave a Comment

Your email address will not be published.