Loading…
Loading…
JavaScript Frameworks & Libraries
Image gallery and lightbox library for JavaScript, built around zoomable photos.
Visit PhotoSwipe ↗Width and height have to be set in advance for every image PhotoSwipe shows, a requirement its docs state plainly. Zooming in makes it load a larger file through srcset. The docs also say it isn't designed for very large images and should be given responsive ones, with a Tiled Deep Zoom plugin for the extreme cases. Version 5 is an ES module that needs no build step, and the docs include guides for React, Vue and Svelte. Only modern browsers are supported, so the docs advise always giving visitors another way to reach the content.
Sources: PhotoSwipe, PhotoSwipe on GitHub · Checked 16 Nov 2026