All basic gestures are supported: flick to the next or previous image, spread to zoom in, drag to pan, pinch to zoom out or close, tap to toggle the controls, double-tap to zoom.* Spread to zoom image 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. Pinch to close gallery The gallery’s background will gradually fade out as the user zooms out. When the gesture is complete, the gallery will close. Vertical swipe to close gallery Gesture is added because close button in top right corner might be hard to reach on tall mobile devices while holding in one hand. Horizontal swipe to switch items Images can be changed even when current slide is zoomed. Swiping is not blocked during the transition.



