Viewing 15 replies - 1 through 15 (of 31 total)
  • Doesn’t work properly on Android for me but it is right on iOs.
    On Andoid when i tap on a thumbnail, the lightbox is shown but not the image.

    I use swipebox on ipad and iphone , do not work for me !

    Lightbox settings -> Top and bottom bars -> Disable
    It worked for me!

    Thread Starter Squazz

    (@squazz)

    I can’t enable that setting as I’m using prettyBox as the primary, and created a function to turn on swipebox on mobile platforms.

    Updating the settings for SwipeBox, doesn’t seem to wotk with my method when SwipeBox is not primary

    so maybe as long as you can check (if mobile) you can do the opposite (if !mobile),
    so you can use swipebox as primary.

    Thread Starter Squazz

    (@squazz)

    I could do that, or the developer could fix the problem instead of having us hack us through it ??

    Using my own function already seems like a compromise, it should be offered as part of the plugin instead.

    … in a perfect world

    Thread Starter Squazz

    (@squazz)

    With the following code I was able to create a workaround:

    /* Use SwipeBox on mobile devices */
    function custom_rl_lightbox_args($args) {
    require_once ‘/home/squazzdk/public_html/wp-content/plugins/wp-mobile-detect/mobile-detect.php’;
    $detect = new Mobile_Detect();
    if (!$detect->isMobile()) {
    $args[‘script’] = ‘prettyphoto’; // swipebox, nivo, prettyphoto, fancybox
    }
    return $args;
    }
    add_filter(‘rl_lightbox_args’, ‘custom_rl_lightbox_args’);
    /* Use SwipeBox on mobile devices END */

    I then had the ability to set Swipebox as the primary, and edit the sittings to this: Lightbox settings -> Top and bottom bars -> Disable

    It’s a shame that this should be possible. I really hope that dFactory will provide a proper fix

    Plugin Author dFactory

    (@dfactory)

    @squazz you don’t heve to use Mobile Detect. There’s a native WP function wp_is_mobile() – https://codex.www.ads-software.com/Function_Reference/wp_is_mobile

    Why you say it’s not possible? The rl_lightbox_args args was introduced to enable that kind of modifications if someone wants to. And there’s a code snippet on our forum describing how to make use of it.

    Thread Starter Squazz

    (@squazz)

    I was thinking that giving people the option in the settings might be a good idea?

    I will still keep my vote for “not working” until the “issue” is resolved. I had to disable the top and bottom bars to make it work. That’s not necessary when I try out the native plugin on the same site.

    Still, it shouldn’t be necessary to make an inverse check so that I can set the settings correctly. It feels rather hacky the way it’s done.

    I tried out the wp_is_mobile(), and it seems to work. Thanks for that tip, saves me a plugin ??

    I some kind agree to Sqazz. Responsive Lightbox works great on desktop browsers. But with mobile devices swiping in both directions is a mess, the navigation icons fade and never come back. The swipebox lightbox has captions so huge that only a fraction of the text is visible. I’m sure everything can be fixed with some php- and javascript-knowlege. But that’s not why I’m using a plug-in ??

    Hi,

    Thanks for this plugin. But it’s not as good as it was… It’s basically useless now. Having the same problems mentioned above.

    The Swipebox is not working on most mobile devices (old version of iPad worked, on new version of iPad it’s not working anymore). Iphone and Android: the same.

    Swipebox jQuery plugin (used by dFactory’s plugin) needs an update, but WP jQuery version is not working with newest version of this jQuery plugin. dFactory’s forum shows a lot of people having the same problem.

    Is there a (detailed and well explained) fix for this? Untill WordPress updates jQuery that would be nice. Squazz post is not exactly clear to me. Could you tell me a bit more? Where to put the code, for example?

    Otherwise I have to implement the Swipebox into WP itself. Using a jQuery update plugin, for example. That should work..?

    Any ideas? Suggestions?

    I’d love to use this plugin.. if I can make it to work again..

    Cheers,

    Rolf

    Thread Starter Squazz

    (@squazz)

    Roffel, if it comes to it, you could try manually updating the Swipebox jQuery that is in the plugins folder. And then tell us about your experiences ??

    If this is the post you are refering to: https://www.ads-software.com/support/topic/doesnt-work-properly-on-mobile?replies=13#post-6124717 then the code should be inserted in your functions.php file. If you don’t have one in your theme, go add one right away. Read more about the file here: https://codex.www.ads-software.com/Functions_File_Explained
    Please do tell me if there is more that you would like me to explain ??

    If you end up implementing SwipeBox yourself, then please do tell me about hat too, I would love to hear more about your discoveries ?? And I am sure that dFactory would apreciate you doing their job xD

    I’m having the same problem with SwipeBox. The manufacturer, dFactory, should be all over fixing this issue. The users shouldn’t be the one’s building work-arounds. I cant believe the issue has persisted for months without a resolution.

    Just for the record, I currently see the issue on my iPhone 5c; however, it does work properly on my Tegra Note Andriod tablet.

    Hi!

    Indeed. It is a shame. Good plugin. But not anymore. At least, for me… I waited for two weeks for a solution and then decided to not bother my client any longer.

    I tried the following:
    Used jQuery latest version (hosted by Google / with jQuery updater plugin) and put the most recent Swipebox files in the dFactory plugin directories. Did not work. The whole thing broke apart.

    Then I tried the following:
    Deleted the dFactory plugin (shame!). Again used the latest jQuery version (I have a simple website so this action doesn’t break anything for me). Then I implemented the jQuery plugin manually. That did work. I tried it on a lot of devices and I am happy. Of course, you need to do it all yourself, but you get ‘more freedom’ as well. You can see the results here: https://www.ericvanlokven.com/ (Swipebox is working on underlaying pages).

    Cheers,

    Rolf

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Doesn't work properly on mobile’ is closed to new replies.