PhotoSwipe v4.1.1, Responsive JavaScript Image Gallery

Scripts

PhotoSwipe is a JavaScript Image gallery for mobile and desktop, modular, framework independent without any dependencies! 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.

Images are displayed at their highest possible size and are not limited by the width of the column or wrapper. Each image is isolated from the other content and fits the viewport vertically, so that the user can focus on it. If an image is larger than the viewport, it can be zoomed (which most galleries are unable to do).

PhotoSwipe creates the illusion of faster loading. Photos are displayed before they fully load. This feature is disabled on touch devices because it could cause swipe transitions to lag.

The UI is entirely separated from the core of the script. If you’re making a custom interface for a gallery, you would write it instead of the default interface, not on top of it. Default PhotoSwipe UI is responsive – optimized for desktop, tablets and mobile devices.

PhotoSwipe v4.1.1

The script is free to use for personal and commercial projects. PhotoSwipe 4.0+ is developed by Dmitry Semenov.