Page 1 of 1

Gallery Module

Posted: Sun Nov 21, 2010 1:03 pm
by buzzby
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?

Re: Gallery Module

Posted: Sun Nov 21, 2010 10:49 pm
by janvl
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

Re: Gallery Module

Posted: Wed Nov 24, 2010 12:40 pm
by Jos
If you change this line in the Gallery Lightbox template

Code: Select all

<a href="{$image->file}" title="{$image->titlename}" rel="lightbox[gallery]"><img src="{$image->thumb}" alt="{$image->titlename}" /></a>
to this

Code: Select all

<a href="{$image->file}" title="{$image->titlename}" rel="lightbox[gallery{$galleryid}]"><img src="{$image->thumb}" alt="{$image->titlename}" /></a>
It should solve your problem

Re: Gallery Module

Posted: Fri Dec 03, 2010 12:20 am
by buzzby
Worked an absolute treat. cheers for that