Software Alternatives & Reviews

PhotoSwipe VS Lightbox 2

Compare PhotoSwipe VS Lightbox 2 and see what are their differences

PhotoSwipe logo PhotoSwipe

JavaScript gallery, no dependencies.

Lightbox 2 logo Lightbox 2

Lightbox is a simple, unobtrusive script used to overlay images on the current page.
  • PhotoSwipe Landing page
    Landing page //
    2023-04-26
  • Lightbox 2 Landing page
    Landing page //
    2023-07-29

PhotoSwipe videos

New PhotoSwipe progressive image loading demo

More videos:

  • Review - Galaxy nexus photoswipe test

Lightbox 2 videos

Lightbox 2 Multi-Touch Museum Media Browsing Software

Category Popularity

0-100% (relative to PhotoSwipe and Lightbox 2)
Web Frameworks
68 68%
32% 32
Ruby Web Framework
71 71%
29% 29
Developer Tools
74 74%
26% 26
PHP Framework
52 52%
48% 48

User comments

Share your experience with using PhotoSwipe and Lightbox 2. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

PhotoSwipe might be a bit more popular than Lightbox 2. We know about 5 links to it since March 2021 and only 4 links to Lightbox 2. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

PhotoSwipe mentions (5)

  • Looking for Advice on Imagely Premium?
    Depending on your requirements and your experience with software development, you could give https://photoswipe.com/ a go. Alternatively, you could use the native gallery block with https://wordpress.org/plugins/lightbox-photoswipe/. Source: about 1 year ago
  • Looking for lightbox/gallery library for jetpack compose
    Hello, I want to add a photo view dialog to view the photos in my app, it's not the gallery app so I don't want to implement all the interactions/animations by myself, is there any gallery library available for jetpack compose that works similar to web's version of photoswipe.com ? Source: about 1 year ago
  • [Update] Simple static website for an artist friend
    In the end I went back to pure html/css and only used the PhotoSwipe javascript module for the Image Gallery. Source: over 1 year ago
  • Is there a website where i can buy a image gallery like this?
    Or do you mean something like https://photoswipe.com or https://www.lightgalleryjs.com? Source: almost 3 years ago
  • Examples of internet facing production sites built with Blazor?
    I see mention of Telerik with telerik-blazor.js, but I don't see a lot of it in the UI. Mostly it's Bootstrap 4 for layout, but it also features Owl Carousel and Video.js. I also see some use of PhotoSwipe. Source: about 3 years ago

Lightbox 2 mentions (4)

  • PORTFOLIO HELP (Newish to Neocities)
    Lightbox (which was easier to implement) and. Source: 5 months ago
  • Gallery Lightbox for Website
    That fix would require a major adjustment in the lightbox code. Honestly I would consider just switching the lightbox plugin you use. This here seems to have the same functionality as yours: https://lokeshdhakar.com/projects/lightbox2/. Source: 12 months ago
  • Pagescrolling webserver
    Possibly https://lokeshdhakar.com/projects/lightbox2/. Source: about 1 year ago
  • Cards with lightbox gallery
    Are you taking about coding it yourself? I just attempted to quickly make a lightbox the other day as I thought it’s a relatively simple thing. I soon realised there’s actually a fair amount going on. I ended up using lightbox2 and then slightly modifying it to suit how I wanted it. Source: almost 2 years ago

What are some alternatives?

When comparing PhotoSwipe and Lightbox 2, you can also consider the following products

Fancybox - fancyapps.com - Fancy App Store

ASP.NET - ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.

Magnific Popup - The greater part of Lightbox modules will completely preload a picture before showing it.

lightgallery.js - Full featured javascript lightbox gallery, No dependencies.

Font Awesome - Font Awesome makes it easy to add vector icons and social logos to your website. And version 5 is redesigned and built from the ground up!

ColorBox jQuery Plugin - ColorBox: light-weight, customizable lightbox plugin for jQuery 1.3 & 1.4