Skip to content

dimsemenov/PhotoSwipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d80c32a · Jul 18, 2024
Mar 27, 2022
Sep 2, 2023
May 24, 2024
May 24, 2024
Jul 18, 2024
May 24, 2024
Sep 8, 2023
May 9, 2022
May 9, 2022
Jun 6, 2022
Jun 6, 2022
Mar 26, 2022
Oct 25, 2022
May 9, 2022
May 24, 2024
May 24, 2024
Jan 12, 2023

Repository files navigation

Stand With Ukraine

PhotoSwipe v5 — JavaScript image gallery and lightbox

Demo | Documentation

Sponsor via OpenCollective Follow on Twitter

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 and the code for 4.1.3 is here.


This project is tested with BrowserStack.