1.0.3 • Published 8 years ago

jquery-photoswipe v1.0.3

Weekly downloads
11
License
ISC
Repository
github
Last release
8 years ago

jQuery Photoswipe

Description

jQuery plugin for PhotoSwipe.

Installation

Manual Install

  1. Step 1: include JS and CSS files of Photo Swipe:

`

`

  1. Step 2: include jQuery Photoswipe plugin:

`

`

  1. Step 3: add data size tag to your gallery links, attribute should describe image dimensions.

<a href="imageUrl.jpg" class="js-lightbox" data-size="1350x901">

  1. Step 4: apply jQuery PhotoSwipe plugin:

$('.image-slider--floor-plan').photoSwipe({ link: '.js-lightbox' });