Description
PhotoSwipe is an open-source JavaScript image gallery and lightbox for responsive websites. It shows images full screen and supports captions on phones and desktops. The current release is 5.4.4. Version 5 was a rewrite in ES6, distributed as an ES module that needs no build step, and the documentation has more examples than before. PhotoSwipe can be initialised simply and supports dynamic import, so it does not block page rendering. The site has a documentation and examples section, with demo galleries and sample captions, and a list of plugins, including a dynamic caption plugin and a deep zoom plugin for very large images. The project is on GitHub, has a discussion board for feedback on version 6, and is open source. It suits web developers who want a fast, dependable lightbox for product photos, blog images or portfolios without bringing in a heavy framework.…
Highlights
- Responsive full-screen image gallery
- ES module with no build step
- Dynamic import support
- Plugins for captions and deep zoom
Ratings & Reviews
No ratings yet
Be the first to rate Photoswipe.
People also visit

react-image-gallery
Responsive image gallery, carousel, image slider react component
Photoswipe FAQ
What is PhotoSwipe?
An open-source JavaScript image gallery and lightbox for responsive websites.
Does it need a build step?
No. Version 5 is distributed as an ES module that can be used without a build step.
Are there plugins?
Yes. The site lists plugins, including a dynamic caption plugin and a deep zoom plugin for large images.
What licence is it under?
It is open source, and the code is on GitHub.
What are the best Photoswipe alternatives?
Popular alternatives to Photoswipe include Lightgallery.js, Openseadragon and Viewerjs. See all Photoswipe alternatives





