I have a page with several images on it with each image set up using rel="lightbox"
I would like to provide a option to display "SOME" or "ALL" that i designate as a slideshow

Is there a way to effectively allocate both rel="lightbox" and rel="lightshow"

The only way i can see at the moment is to use a variable which is by default "lightbox" but when a button is used "View Images as Slideshow", changes the variable for the selected images to "lightshow"

Is there another way ?

One thought that came to mind though would be a feature, is the addition of a "slideshow forward" (PLAY) to the normal lightbox - which may be especially usefull for pages with large numbers of images, as the user gets bored clicking next.

Comments

stella’s picture

No, there's no real way to do this at the moment. Yes, you could write some custom js to change "lightbox" to "lightshow" for your images if you wanted - don't see why this shouldn't work as long as a group name is specified.

One thing I do plan on implementing, which may or may not be of interest to you, is the ability to configure whether or not the slideshow is automatically playing when first opened. At present, when you open a slideshow, it will automatically transit from one image to the next. This feature will allow the option of opening the slideshow in a paused state.

Anonymous’s picture

Your plan sounds like an ideal solution, It would work for the scenarios I have, so I look forward to trying it in the future when its available.
The only proviso i can see is that I assume it should start at the image clicked?

If this is the case the lightbox option is almost obsolete for me :)

chaldar’s picture

Not quite sure if this topic is related to this thread, but I have a somewhat related question.

Is there a way to create (using lightbox2) shows in which two lightbox windows work concurrently? The idea is to show images in one lightbox window and descriptive text in another lightbox (lightshow?) window simultaneously on the screen and transition the two windows simultaneously (or the text immediately after the image). This will allow creation of e-learning type of content nicely.

May be it is possible to even add an audio stream to this medley for a complete e-learning sub-platform suite of modules, but for the moment the combo image and text lightboxes will be very nice.

stella’s picture

chaldar: that's a different topic, and no it's not possible at present, and something that isn't really on our todo list either I'm afraid.

stella’s picture

Category: support » feature
stella’s picture

Status: Active » Fixed

I've added the ability to configure whether or not the slideshows automatically play by default or not. It will be included in the next dev release, available later today.

Cheers,
Stella

stella’s picture

Released in Lightbox2 6.x-1.9 and 5.x-2.9.

Cheers,
Stella

Status: Fixed » Closed (fixed)

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