I’d like to modify the speed that the photos fade in and out of a basic slideshow of the NextGen gallery plugin for wordpress. I know there is a setting to change how often the pictures change, however, I’d like to slow the actual fade down.
I’m guessing I need to modify the jQuery but I’m having a hard time finding the file where this speed is set.
Edit: I am using version 2.0.40 if this matters.
in,wp-contentpluginsnextgen-gallerynggfunctions.php
,after
'fx:"'.$ngg_options['slideFx'] . '",' .
(Line 129) ,Add
'speed: 1000,' .
This is where it generates the options for the cycle plugin.
Update: For NextGen v2
The slideshow settings are saved in the database. So whatever you do in the files will have no effect. And the plugin is loading
jquery.cycle.all.min.js
by default. Editingjquery.cycle.all.js
is not going to do anything. So edit the minified file,search forspeed:1e3
and change the value.NOTE: Editing the
jquery.cycle.all.min.js
file will affect the site-wise transition speed. If you need individual speed setting for each slideshows, you need to customize the back-end to add another field from the code level.Hope this helps.
I am not sure, but, since they use jquery cycle plugin, try to set speed option inside: jquery.cycle.all.js file in: products->photocrati_nextgen->modules->nextgen_basic_gallery->static->slideshow folder.
Options are at the bottom of the file:
line 1065.