Swipebox
Categories
Component ID
1953290
Component name
Swipebox
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module provides a simple field formatter to output images with Swipebox, a jQuery "lightbox" plugin for desktop, mobile and tablet. (see http://brutaldesign.github.com/swipebox/)
The code is heavily borrowed from fancybox module.
How to use:
- get the Swipebox library and place it in sites/all/libraries (so jquery.swipebox.min.js is located in sites/all/libraries/swipebox/source)
- enable the module
- set your desired image fields' display settings to swipebox and choose your desired image styles for both the displayed image and the one used inside the swipebox overlay
Limitations
- no backend configuration options (swipebox options are limited anyways), so the setting to always show the caption and navigation bar is currently hardcoded in swipebox.js, as this is my desired behaviour
- Caption settings currently always act as if set to automatic, no matter if "title" was chosen as the only source for the caption
