Page 1 of 1

multiple galleries on one site

Posted: Thu Nov 21, 2013 9:10 am
by jlo30
Hi,
Sorry for my english ;)
I have a problem.
I want to have for example 2 galleries on one site. It's not important that the gallery template is the same or different. One of this galleries is working fine, but second is displaying in a small size (the size is similar to the thumbnail size).

I want the solution for multiple galleries with the same template, but with different templates will be good too.

Admiror Gallery Version: 4.5.0

My example code:


Code: Select all

<p>some text</p>

{AG rootFolder="/images/gallery/" thumbWidth="200" thumbHeight="120" thumbAutoSize="width" arrange="priority" backgroundColor="ffffff" foregroundColor="888888" highliteColor="34A90A" frame_width="805" frame_height="605" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="0" plainTextCaptions="0" ignoreError="1" ignoreAllError="0" template="classic" popupEngine="fancybox"}gallery1{/AG}

<p>some text</p>

{AG rootFolder="/images/gallery/" thumbWidth="200" thumbHeight="120" thumbAutoSize="width" arrange="priority" backgroundColor="ffffff" foregroundColor="888888" highliteColor="34A90A" frame_width="805" frame_height="605" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="0" plainTextCaptions="0" ignoreError="1" ignoreAllError="0" template="classic" popupEngine="fancybox"}gallery3{/AG}
Thanks for your answer.

Re: multiple galleries on one site

Posted: Fri Nov 22, 2013 3:08 pm
by Vasiljevski
Hmm, I'm not sure what do you mean by : "One of this galleries is working fine, but second is displaying in a small size (the size is similar to the thumbnail size)."

Could you post an image so I could check or link to the page?

It is possible to have 2 or more galleries on the same page, also they can have different parameters (different thumb size, different template, popup...)

As you can see in the code you provided, there is a value set for each parameter, changing that parameter will have effect only on that gallery. Also note that if you add parameters inline like this, global setting will not apply to these gallery. So if you add :

Code: Select all

{AG rootFolder="/images/gallery/" thumbWidth="200" thumbHeight="120" thumbAutoSize="width" arrange="priority" backgroundColor="ffffff" foregroundColor="888888" highliteColor="34A90A" frame_width="805" frame_height="605" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="0" plainTextCaptions="0" ignoreError="1" ignoreAllError="0" template="classic" popupEngine="fancybox"}gallery1{/AG}
and you change Thumbnail width in Control Panel, this gallery will still have Thumbnail width as defined : thumbWidth="200".

In general, I want to say inline parameters have top priority :)