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

dawehner’s picture

Project: Drupal core » Image
Version: 6.9 » 6.x-1.x-dev
Component: other » image_gallery

I 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

joachim’s picture

Title: Displaying a Image Gallery with Lightbox, confused, please help! » Displaying a Image Gallery with Lightbox from links rather than thumbnails
Project: Image » Lightbox2
Component: image_gallery » Javascript

I 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.

dawehner’s picture

it should be possible with using http://drupal.org/node/316727

stella’s picture

Status: Active » Fixed

You should be able to do it by using the http://drupal.org/project/menu_attributes module. This allows you to specify the rel attribute for menu item links. Then all you need to do is give the menu item the appropriate rel="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 the rel="lightbox" attribute as the paths to the individual images have to exist on the current page for this to work.

Cheers,
Stella

Status: Fixed » Closed (fixed)

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