PhotoSwipe is the first open-source gallery to support JavaScript-based image zooming. Even if a browser’s native zooming has been disabled, image zooming will still work. The gallery’s background will gradually fade out as the user zooms out. When the gesture is complete, the gallery will close. Gesture is added because close button in top right corner might be hard to reach on tall mobile devices while holding in one hand. Images can be changed even when current slide is zoomed. Swiping is not blocked during the transition. PhotoSwipe manipulates the browser’s history so that the user can link to each gallery item and close the gallery via the “back” button. The initial URL is restored when the gallery is closed. PhotoSwipe adds a history record when the gallery is opened, which allows the user to close it via the browser’s “back” button. This feature comes as a module. You can exclude it from the build entirely, or fork it to fit the requirements of your product’s URL structure.

Features

  • Low-resolution images are instantly displayed and then stretched to full size
  • Smart loading indicator feature
  • Zoom animation features
  • Responsive images support
  • Manipulates the browser’s history so that the user can link to each gallery item
  • Unique URL for each gallery item
  • Images display progressively as data arrives

Project Samples

Project Activity

See All Activity >

Categories

Photo Management

License

MIT License

Follow PhotoSwipe

PhotoSwipe Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PhotoSwipe!

Additional Project Details

Operating Systems

Android, Apple iPhone, Windows

Programming Language

JavaScript

Related Categories

JavaScript Photo Management Software

Registered

2021-02-11