Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.x-dev
Component:
Javascript
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2009 at 09:31 UTC
Updated:
6 Jun 2009 at 12:40 UTC
Hello,
I created a "Gallery" and added it to the menu using the regular image module and have set Lightbox2 to automatically handle the images. What is happening now is that if the thumbnail is clicked on front page as a teaser it launches the image in the lightbox and allows the user to click next etc. This is fine, however is there a way to make the title of the teaser, and the menu title that I made "Gallery" to automatically launch the lightbox rather than list show the traditional boring gallery and display the thumbnails? I do not want people to see the regular image gallery basically. I hope this makes sense.
Thanks
Sole
Comments
Comment #1
dawehnerI moved this to Image Module, because this is not a support query for drupal.
I think this could be hard, perhaps its possible with using lightframe or with automatic launching of the lightbox when going to a gallery path
Comment #2
joachim commentedI think this might be better at lightbox. But I don't think it's possible without some hacking of lightbox to recognize another kind of link as a trigger to start showing images.
Comment #3
dawehnerit should be possible with using http://drupal.org/node/316727
Comment #4
stella commentedYou should be able to do it by using the http://drupal.org/project/menu_attributes module. This allows you to specify the
relattribute for menu item links. Then all you need to do is give the menu item the appropriaterel="lightframe"setting and it can show the gallery page in the lightbox. However, there's no way to individually show all the images from the gallery using therel="lightbox"attribute as the paths to the individual images have to exist on the current page for this to work.Cheers,
Stella