It is currently Tue May 22, 2018 2:34 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Nov 21, 2013 9:10 am 
Offline

Joined: Thu Nov 21, 2013 8:51 am
Posts: 1
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:
<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.


Top
 Profile  
 
 Post subject: multiple galleries on one site
PostPosted: Thu Nov 21, 2013 9:10 am 
Top  
PostPosted: Fri Nov 22, 2013 3:08 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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:
{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 :)

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Exabot [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group