Hi :)
I am having trouble to group images together. I'm using lastest colorbox library, jquery 1.7 (tested with new versions too), field collection and field slideshow.
It works like there was no data-colorbox-gallery attribut, but in fact there is. I have no control buttons, nothing. all my < a > have the same data-colorbox-gallery attribut and value.
<a href="./files/nature-q-c-640-480-3_4.jpg" class="colorbox init-colorbox-processed cboxElement" data-colorbox-gallery="field-slideshow[nid-3608785377]" title="title here" style=""><img class="field-slideshow-image field-slideshow-image-3" src="./files/styles/galerie_images/public/nature-q-c-640-480-3_4.jpg?itok=VbUGsVE0" alt="" style="" width="333" height="250"></a>
I am also using jCarousel, but I don't think this is the problem.
I used a bit of code found here, no effect :
settings.colorbox.rel = function () {
if ($(this).data('colorbox-gallery')) {
return $(this).data('colorbox-gallery');
}
else {
return $(this).attr('rel');
}
};
I also modified
colorbox-insert-image.tpl.php
, cleared a hundred times my cache... Nothing works for me. I have no Javascript compression activated...
Any clue would be very appreciated, I'm searching since 2 days now :(
Best regards,
Comments
Comment #2
rikemSen CreditAttribution: rikemSen commentedHi there,
Nobody can help me with this please? I'm still stuck ...
Best regards,
G.
Comment #3
DrJochum CreditAttribution: DrJochum commentedIt seems that I have the same problem.
The data-colorbox-gallery is there. It has the same value for several images (or a-tags).
But the images are not grouped together in a gallery. Only one image opens at a time.
The gallery did work before. The problem must have started after some update. But I did not notice immediately.
Any ideas?
Comment #4
DrJochum CreditAttribution: DrJochum commentedAfter I now updated the jQuery version also, it works now.
Comment #5
orizonmedia CreditAttribution: orizonmedia commentedHi, I got that bug after upgrading.x-2.10 to latest 7.x-2.12. After that properly working grouping gallery were not. I updated to dev version and grouping worked back.
hope it help somebody.
seb
Comment #6
fifty CreditAttribution: fifty commentedWhich jQuery version?
I have jQuery 1.9.1 with the latest Colorbox dev version (7.x-2.12+5-dev), grouping does not work.
Comment #7
giovanninews CreditAttribution: giovanninews as a volunteer commentedSorry for my English;
Personally, to insert images, i use the Insert module.
I use also the Colorbox module together with the Flexslider module.
It would seem that Colorbox, with version 7.x-2.12, display one single-image and not doing the slideshow because it fails to pass the attribute rel = "gallery-all" and, sometimes, does not pass even the title =.
By placing the source rel = "gallery-all" of each image, these are displayed correctly with the presentation.
Also I have to use, as template, jquery 1.8 because, with the higher, not function the Flexslider module.
Comment #8
xaris.tsimpouris CreditAttribution: xaris.tsimpouris commentedAs far as I can tell it seems to be an issue within the colorbox library, as it deosn't call the module's library to get the rel group. Has anybody tried to upgrade the library (and not the module)?
Comment #9
Neslee Canil Pinto