Page 1 of 1
Using time between each picture
Posted: Wed Dec 12, 2012 11:14 pm
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
Re: Using time between each picture
Posted: Mon Dec 17, 2012 4:45 pm
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.
Re: Using time between each picture
Posted: Mon Dec 17, 2012 7:42 pm
by michel83
Thank you very mutch