hi there.
i have used the gallery module on the odd occassion and its pretty impressive. i have however noticed that if i combine galleries together the total number of images change. if i use the lightbox gallery for 6 images then going through the images i see '1 of 6' which is correct. but if i add a second gallery to place underneath the 1st one then irrespective of the subject the total images change.
if the 1st gallery has 6 images and the 2nd has 5 images then when i look through the images i see '1 of 11'. this is not correct as the 2 batches do not have anything in common. they are of two different subjects. any idea on this please?
Gallery Module
Re: Gallery Module
Hi,
check whether you have given the same name to both the galleries.
Lightbox uses the name of the gallery to show them as one batch.
Regards,
Jan
check whether you have given the same name to both the galleries.
Lightbox uses the name of the gallery to show them as one batch.
Regards,
Jan
Re: Gallery Module
If you change this line in the Gallery Lightbox template
to this
It should solve your problem
Code: Select all
<a href="{$image->file}" title="{$image->titlename}" rel="lightbox[gallery]"><img src="{$image->thumb}" alt="{$image->titlename}" /></a>
Code: Select all
<a href="{$image->file}" title="{$image->titlename}" rel="lightbox[gallery{$galleryid}]"><img src="{$image->thumb}" alt="{$image->titlename}" /></a>
Re: Gallery Module
Worked an absolute treat. cheers for that