discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
dimsemenov/PhotoSwipe · source
Snapshot 0 · 2026-11-04T12:47:21Z · JavaScript · MIT
Content fingerprint
b54b8dd7246e834a835853fc9eaf6a5cdae77e834c908541f1f68124ceb38f69GitHub description at capture
JavaScript image gallery for mobile and desktop, modular, framework independent
README at capture
**FEEDBACK NEEDED** I am developing the new version - PhotoSwipe v6, please [read about upcoming changes and leave feedback](https://github.com/dimsemenov/PhotoSwipe/discussions/2170). PhotoSwipe v5 — JavaScript image gallery and lightbox **[Demo](https://photoswipe.com)** | **[Documentation](https://photoswipe.com/getting-started/)** [](https://opencollective.com/photoswipe) [](https://twitter.com/intent/user?screen_name=photoswipe) ### Repo structure - `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. To build JS and CSS in `dist/` directory, run `npm run build`. To run the demo website and automatically rebuild files during development, run `npm install` in `demo-docs-website/` and `npm run watch` in the root directory. ### Older versions Documentation for the old version (v4) can be found [here](https://photoswipe.com/v4-docs/getting-started.html) and [the code for 4.1.3 is here](https://github.com/dimsemenov/PhotoSwipe/tree/v4.1.3). [](https://savelife.in.ua/en/) --- This project is tested with [BrowserStack](https://www.browserstack.com/).