Gallery Module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
buzzby
Forum Members
Forum Members
Posts: 24
Joined: Fri Aug 12, 2005 9:03 am

Gallery Module

Post 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?
janvl
Power Poster
Power Poster
Posts: 972
Joined: Wed Aug 13, 2008 10:57 am

Re: Gallery Module

Post 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
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Module

Post 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
buzzby
Forum Members
Forum Members
Posts: 24
Joined: Fri Aug 12, 2005 9:03 am

Re: Gallery Module

Post by buzzby »

Worked an absolute treat. cheers for that
Post Reply

Return to “Modules/Add-Ons”