Using time between each picture

Everything to do with Templates and Templating for Admiror Gallery.
Post Reply
Message
Author
michel83
Posts: 2
Joined: Wed Dec 12, 2012 11:09 pm

Using time between each picture

#1 Post by michel83 »

Hello,
I use admiror 4.5 and 4.0 theme Admiror Gallery
Could someone tell me how to adjust the time between each photo in the slideshow
big thank you in advance

ps: I'm french I use translator

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Using time between each picture

#2 Post by Vasiljevski »

You need to edit index.php, found in [root]/plugins/admirorgallery/admirorgallery/templates/galleryView/.

Find this part:

Code: Select all

AG_jQuery(document).ready(function(){
  AG_jQuery("#AG_'.$AG->getGalleryID().' #photos").galleryView({
	  panel_width: '.$AG->params['frameWidth'].',
	  panel_height: '.$AG->params['frameHeight'].',
	  frame_width: '.$AG->params['thumbWidth'].',
	  frame_height: '.$AG->params['thumbHeight'].',
	  nav_theme: "light",
	  pause_on_hover: true
  });
You can find all available options that can be used, here : http://spaceforaname.com/galleryview/
In your case, you need to add: transition_interval

For example:

Code: Select all

AG_jQuery(document).ready(function(){
  AG_jQuery("#AG_'.$AG->getGalleryID().' #photos").galleryView({
	  panel_width: '.$AG->params['frameWidth'].',
	  panel_height: '.$AG->params['frameHeight'].',
	  frame_width: '.$AG->params['thumbWidth'].',
	  frame_height: '.$AG->params['thumbHeight'].',
          transition_interval: 1000,
	  nav_theme: "light",
	  pause_on_hover: true
  });
Value is in milliseconds, try it and see what value is OK for you.
Help Admiror Gallery become even better,
give us a review on JED

michel83
Posts: 2
Joined: Wed Dec 12, 2012 11:09 pm

Re: Using time between each picture

#3 Post by michel83 »

Thank you very mutch

Post Reply