1.0.3 • Published 8 years ago
jquery-photoswipe v1.0.3
jQuery Photoswipe
Description
jQuery plugin for PhotoSwipe.
Installation
Manual Install
- Step 1: include JS and CSS files of Photo Swipe:
`
`
- Step 2: include jQuery Photoswipe plugin:
`
`
- 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">
- Step 4: apply jQuery PhotoSwipe plugin:
$('.image-slider--floor-plan').photoSwipe({
link: '.js-lightbox'
});