This project is not covered by Drupal’s security advisory policy.

jQuery Lightbox (jLightbox) is a port of the Lightbox project using jQuery instead of prototype and script.acolu.ous libraries. It is based on the famous Lightbox v2 script by Lokesh Dhakar, but will soon be even more reduced in file size by leveraging the full jQuery framework and enhanced with Drupal specific customizations.

Primary benefit (as of now): Implement jQuery Lightbox with just ~5 KB of JavaScript.

Please note that jQuery Lightbox module is a very simple and lightweight implementation. See Lightbox2 module for advanced features.

Learn more about Lightbox v2: http://www.huddletogether.com/projects/lightbox2

Integration

  • Image / Image Assist support:
    jLightbox automatically adds all thumbnail images in the content of a node to one Lightbox gallery. Only images of the predefined size 'thumbnail' are lightbox-ified.
  • Imagefield support:
    jLightbox automatically generates a separate gallery for each CCK Imagefield CCK Imagefield Imagecache preset.
  • Theming support:
    If a file with the name lightbox.css exists in the current theme, that file is loaded instead of the default stylesheet.

Enhanced Image Assist as well as Inline module support will be focused in upcoming versions of jQuery Lightbox.

jQuery developers

The current jQuery Lightbox script is almost identical to the original implementation, but not relying on prototype and script.aculo.us. The next step in the quest is to inject the 'write less do more' paradigm of jQuery in a separate (experimental) JavaScript. Unfortunately, I'm not yet a jQuery freak, so if you would like to expertise how small the code could be, just patch it! :)

Dependencies

Installation

Credits

Current maintainers:

This module is partially based on Lightbox v2 module. First draft of jQuery Lightbox script was developed by Warren Krewenki.

This project has been sponsored by:

  • unleashed mind
    Specialized in consulting and development of Drupal powered sites, our services include installation, development, theming, customization, and hosting to get you started. Visit http://www.unleashedmind.com for more information.

Project information

Releases