Lightbox2 Swipe gestures support

Adds swipe gesture support for Lightbox2. This makes a lot of sense on mobile or responsive pages, because the "Next" an "Prev" Buttons are only visible on hover.

Description

Adds swipe gesture support to the well known Lightbox2 module for mobiles. Just swipe left or right on galeries to show the previous or next element!

Dependencies:

Installation:

  1. Download and enable this module.
  2. Download jquery.event.move and jquery.event.swipe from the Project Page and extract them as separate folders to sites/{all}/libraries/ (folder names: "jquery.event.swipe" and "jquery.event.move". (>= 7.x-2.x)
  3. Enable jQuery 1.7 (or higher) in jQuery Update settings ("admin/config/development/jquery_update"). Notice: In our tests 1.7 worked with fewest problems. 1.8 and others are also possible. BUT: Please check if there are bad side effects in your environment!

Demo:

The lightbox galleries on our website http://www.webks.de use the swipe gesture support. Please try if they work on your device / browser correctly before posting a device error. If they work and on your Drupal website don't work, you've made a mistake perhaps.

Thanks:

Thanks to the following projects that were utilitized:

So thank you @stephband!

Development proudly sponsored by German Drupal Friends & Companies:

webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)

Supporting organizations: 
proudly developed this module for the community!

Project information

Releases