Hi,

First off, nice module. I've recently started playing around with this module and it looks quite neat. However it uses thickbox to display the images. I'd much rather be able to use Lightbox2 as it has slideshow support. Would you be able to add a configurable set of display methods for the images? For example, the user could choose to (a) do nothing when the image is clicked on (b) open in thickbox (c) open in lightbox2 or (d) open in shadowbox. It'd be a great enhancement to the module. As maintainer of the lightbox2 module I'd be able to help you with any integration questions you may have. This module is something that I would really like to use on my own sites, but installing thickbox is not an option for me.

Cheers,
Stella

Comments

rapsli’s picture

shouldn't be too hard. If you answer me one question I can even do it today. What does a link has to look like if it should use lightbox. Which Thickbox it just uses the class="thickbox" I think.

The way I see it:
In admin menu user can choose: Do Nothing or open in thickbox/lightbox/shadowbox. Usually users only have one module of these three installed.

stella’s picture

For both lightbox2 and shadowbox you need to set the rel attribute, not the class like with thickbox. For details on valid values for lightbox2 check out the docs here: http://drupal.org/node/144488 Basically for images, it should be rel="lightbox" or rel="lightshow". If you need to add a caption it should be, e.g. rel="lightbox[][caption]" or if you need to group the images together, e.g. for manual navigation rel="lightbox[groupname][caption]" or for automatic slideshow rel="lightshow[groupname][caption]". More in-depth info available at the above link.

Shadowbox is similar, rel="shadowbox" or rel="shadowbox[groupname]" for grouped images. I'm not as familiar with this module, but there are links to docs off the project page, along with usage markup here: http://mjijackson.com/shadowbox/doc/usage.html

Cheers,
Stella

rapsli’s picture

thanks. ... give me some time. Payed work first ;)

rapsli’s picture

Version: 6.x-1.1beta » 6.x-1.x-dev
Status: Active » Needs work

needs some love and somebody who knows how the lightbox api works correctly

ncy’s picture

i coded up and posted a new version here:

#316967: Alternative Version - New Features and Fixed Issues

rapsli’s picture

Status: Needs work » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.