Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem. I thought at first it was a conflict with the WPTiles plugin, but that turned out to be wrong. It seems like the number of images in the gallery plays a role, because some galleries break after swiping one image, some break after swiping 3 or 4.

    When it breaks, it’s as if the swipe box overlay has lost focus, and is no longer completely in front. Specifically if you drag the image up you should be able to see a scroll bar appear and see the gallery thumbs behind the overlay scrolling up. Maybe it’s a theme or other CSS conflict?

    I’ve been trying to debug via Xcode’s iOS Simulator, but I’m afraid my skills are rather weak when it comes to debugging javascript or CSS issues.

    -ben

    Hello again, I was able to get things working to an acceptable degree by getting a copy of the 1.2.5 version of jquery.swipebox.min.js. I tried newer versions but there were various issues with each (I’m guessing due to wordpress’s version of jquery included).

    To replace the version included with responsive-lightbox, you need to overwrite the file in wp-content/plugins/responsive-lightbox/assets/swipebox/jquery.swipebox.min.js.

    To get a copy of the 1.2.5 version, you’ll need to do a git clone of the repository, then checkout the correct hash:

    git clone https://github.com/brutaldesign/swipebox.git swipebox/
    cd swipebox
    git checkout d66c889bab153e1d4d3a9c46312514e960497a86
    cp src/js/jquery.swipebox.min.js src/js/jquery.swipebox.min.js.1.2.5

    Then copy that 1.2.5 file over to your plugin directoy as wp-content/plugins/responsive-lightbox/assets/swipebox/jquery.swipebox.min.js.

    Hope that is of some help.

    -ben

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Issues with Swipebox’ is closed to new replies.