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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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