Quantcast

Does shadowbox support dynamically generated galleries?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Does shadowbox support dynamically generated galleries?

Jim_B
I am using media tags to dynamically generate galleries of images based on the tags assigned to media files. For example, the following code generates a gallery of all images that have been assigned the tag "people":

[gallery tags="people" tags_from="all" link="file" link_size="full" template="file-gallery" ]

While Shadowbox JS works for creating bringing up the images in shadowboxes, the navigation links are not working correctly. Rather than generating a continuous counter of all images for this gallery, the navigation links are tied to the posts in which the images were originally posted. For example, when the tag "people" pulls (a) 1 image form post 1, (b) 3 images from post 2 and (c) 2 images from post 3, instead of displaying navigation links for "image 1 of 6" through "image 6 of 6", Shadowbox JS displays (a) image 1 as a singe image with only an X "close" link; (b) images 2-4 with navigation links "1 of 3" through "3 of 3"; and then (c) images 5 and 6 with navigation links "1 of 2" and "2 of 2".

I've tried using both:
[gallery tags="people" tags_from="all" link="file" link_size="full" template="file-gallery"  "rel=shadowbox" ]
and
[gallery tags="people" tags_from="all" link="file" link_size="full" template="file-gallery"  "rel=shadowbox[people]" ].

Neither changes the behavior described above. Anyone know how to have multiple images that are dynamically generated through media tags display with a single navigation of "1 of x" through "x of x?"

To see this (incorrect) behavior, go to page "jpbdigitalimages.com//gallery-of-images/people".

Thanks in advance.
Loading...