I have a long gallery with thumbnails on one of my pages, and everything looks grayed out until I scroll to the bottom of the page, which is obviously undesirable. Is there a way to disable the scroll animation and just have the images load one the user visits the page?
Thanks.
open up shortcode.js and search for this code around line 205:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
});
change it to:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
}).trigger('avia_start_animation');
gallery thumbs should then load immediately
would be nice to have a theme configuration for that. i heard complaints about milky gallery thumbs as well.