[Plugin: NextGEN Gallery] Fix for slideshow not appearing on IE 7
-
I cannot get the slideshow to work consistently on IE 7, it will frequently show a blank space instead of the images. Here is a possible fix which seems to work:
Open ngg.slideshow.js (or ngg.slideshow.min.js if you are using that one) and change the loadImage function by adding the check for image already loaded ( the lines after the line that starts with
jQuery( img ).bind(...
)function loadImage(num){ if(stackLength > 0 && num <= 3) { var img = new Image(); img.src = stack.shift(); stackLength--; // wait to append image until the load is complete jQuery( img ).bind('load', function() { appendImage(img, num); }); if(img.complete || (jQuery.browser.msie && parseInt(jQuery.browser.version) <= 7)) jQuery(img).trigger("load"); } }
- The topic ‘[Plugin: NextGEN Gallery] Fix for slideshow not appearing on IE 7’ is closed to new replies.