Support » Plugin: JSJ Gallery Slideshow » Slideshow reloads when browser resizes

  • Resolved chichimsphoebe


    Hello there,

    Awesome plugin!
    The slideshow always reloads back to the first image when I resize the browser, is there a way to fix this issue? It is a little frustrating when it happens on the desktop and on mobile, if I or my client scrolls through halfway then it jumps back to the first image when the browser resizes or the phone is turned from portrait to landscape.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jorge Silva-Jetter


    This is not a bug. This is coded this way by design and I don’t think the plugin itself will change. This is important because when window size changes a lot of thing need to be recalculated based on window width and height.

    If you want to disable it in your copy of the plugin just comment lines 54-56 of js/app/main.js

    Keep in mind that you have to either recompile the javascript or comment it in the minified version.

    Go to jsj-gallery-slideshow.js and comment this:

    …..(jQuery(window).resize(function(){ /* START COMMENT!!!! createJSJGallerySlideshow() END COMMENT */ }),jQue…..

    Let me know if that works!


    Hello Jorge!

    Thanks for your quick response, it worked perfectly!

    Thanks so much!~


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slideshow reloads when browser resizes’ is closed to new replies.