Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
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
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Developer Tools, Media, Integrations
- Created by Daniel Wentsch on , updated