dimsemenov / PhotoSwipe
JavaScript image gallery for mobile and desktop, modular, framework independent
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing dimsemenov/PhotoSwipe in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
PreviewFEEDBACK NEEDED I am developing the new version - PhotoSwipe v6, please read about upcoming changes and leave feedback.
PhotoSwipe v5 — JavaScript image gallery and lightbox
Repo structure
dist/- main JS and CSSsrc/- 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 and the code for 4.1.3 is here.
This project is tested with BrowserStack.