JavaScript gallery
npm install photoswipe
PhotoSwipe v5 — JavaScript image gallery and lightbox
Demo | Documentation


dist/ - main JS and CSS
src/ - source JS and CSS.
src/js/photoswipe.js - entry for PhotoSwipe Core.
src/js/lightbox/lightbox.js - entry for PhotoSwipe Lightbox.
docs/ - documentation markdown files.
demo-docs-website/ - website with documentation, demos and manual tests.
build/ - rollup build config.
dist/ directory, run npm run build.
npm install in demo-docs-website/ and npm run watch in the root directory.