dimsemenov/PhotoSwipe
JavaScript image gallery for mobile and desktop, modular, framework independent observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 55
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5627
- days_rel: n/a
- days_push: 272
- n_releases_24m: 0
Adoption not part of the score
25242 stars · 3265 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PhotoSwipe is a modular, framework-independent JavaScript image gallery and lightbox library for mobile and desktop browsers. It provides touch-friendly swipe and zoom gestures, smooth open/close animations from thumbnails, and is distributed as ES modules with a lightweight lightbox that lazily loads the core.
Use cases
- add a lightbox to an image gallery on a website
- display photos with swipe and pinch-zoom on mobile
- open images in an overlay with thumbnail-to-fullscreen animation
- build a responsive photo gallery without a framework
- lazy-load a gallery script only when a user clicks an image
- show image captions in a lightbox viewer
When to choose
- you need a touch-friendly, accessible image lightbox in vanilla JavaScript
- you want a framework-agnostic gallery that works with React, Vue, or Svelte
- you care about bundle size and want dynamic imports of the core viewer
- you need smooth thumbnail-to-fullscreen open/close transitions
When to avoid
- you need to display very large images beyond ~3000x3000px without tiling
- you require built-in caption support without writing API code or using a plugin
- you must support legacy browsers, as PhotoSwipe targets modern browsers only
- you need a full gallery management system with albums and uploads rather than a viewer
Facets
library · maturity stable
ui-components image-processing animation web-development frontend media photography browser cross-platform image-gallery lightbox touch-gestures es-modules framework-agnostic zoom swipe javascript
6 sources
- readme: https://github.com/dimsemenov/PhotoSwipe · fetched 2026-08-28 · b54b8dd7246e
- homepage: http://photoswipe.com · fetched 2026-08-29 · 18ef228712ed
- site_page: https://photoswipe.com/getting-started · fetched 2026-08-29 · 64c64b26e9c1
- registry_npm: https://registry.npmjs.org/photoswipe · fetched 2026-08-29 · 7810014b88d2
- site_page: https://photoswipe.com/native-fullscreen-on-open · fetched 2026-08-29 · db5a345a4068
- site_page: https://photoswipe.com/caption · fetched 2026-08-29 · f8ce755d2bc9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dimsemenov/PhotoSwipe | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="dimsemenov/PhotoSwipe")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem