Active
Project:
Lightbox2
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 May 2009 at 12:36 UTC
Updated:
2 Dec 2009 at 22:16 UTC
Hi,
I wanted to create a slideshow within a node. Therefore I defined a custom trigger class "slideshow". Than I wanted to add another class, that only a view images are shown on the node (but all in the lightbox), i.e.
and
But as result I got two separeted slideshows...
Anybody who knows a solution for this problem?
Thanks a lot
Filburt
Comments
Comment #1
filburt commentedOh my html-tags were killed - sorry: Once again:
Hi,
I wanted to create a slideshow within a node. Therefore I defined a custom trigger class "slideshow". Than I wanted to add another class, that only a view images are shown on the node (but all in the lightbox), i.e. img class="slideshow preview" and img class="slideshow no_preview" But as result I got two separeted slideshows...
Anybody who knows a solution for this problem?
Thanks a lot
Filburt
Comment #2
stella commentedI'm not totally clear on the problem. You've added a custom trigger class "slideshow" in the lightbox2 config? And then created two images on the same node with the classes "slideshow preview" and "slideshow no_preview" and when the images are clicked you get 2 separate slideshows, rather than having all images in the one? Hmmm sounds like a bug if so, will have to check in to it.
Cheers,
Stella
p.s. to avoid the html tag issue, just put your code within <code>...</code> tags in future.
Comment #3
filburt commentedHi Stella - you've desribed the problem exactly.
Thanks for the fast support!
Greetings, Filburt
Comment #4
filburt commentedHi Stella, any progress in fixing this bug?
Thanks + greetings Filburt
Comment #5
El Bandito commentedHi
I think I've hit this one too with 6.x-1.9. I'll try to explain.
I have a sidebar block with 4 images. The anchor tags around ALL the images have
rel="lightbox[epic]"to create a slideshow. Two of the images have theclass="sbphoto mceItem"( mceItem class is added automatically by TinyMCE editor for some reason ). The other two images haveclass="sbphoto photowithcredit mceItem".On the Automatic Image handling page I have set "Within Automatic handler for custom class images:" to "Lightbox grouped" and the "Custom image trigger classes:" to "sbphoto".
When I click on one of the images the slideshow grouping is along the lines of the CSS classes i.e. if I click on an image with
class="sbphoto mceItem"it is grouped into a slideshow of 2 with the other image with the same 2 CSS classes. Similarly if I click on one of the images withclass="sbphoto photowithcredit mceItem"I get another 2 image slideshow of the images with the same 3 CSS classes.When I view the page source of the anchor via FF it looks fine :
a title="rocky mountains" rel="lightbox[epic]" href="sites/default/files/images/sidebars/epic/photo1.jpg">However when I use Firebug to examine the very same source the code for the anchor looks scrambled like this :
a class="lightbox-processed" href="sites/default/files/images/sidebars/epic/photo1.jpg" rel="lightbox[sbphoto photowithcredit mceItem][rocky mountains]" title="rocky mountains">Any suggestions appreciated. I will try to copy an example to a live site tomorrow.
Cheers
Dave
Comment #6
locomo commentedi think i was having the same issue - i found a solution and proposed a feature request here:
http://drupal.org/node/627262