• Resolved dazzlingshotscr

    (@dazzlingshotscr)


    Hello

    I am using the free version of foobox, it was working properly, but it stopped one day, now the images open full-size instead of lightbox. I tried to uninstall the plugin and reinstall, i am not a tech user, so if you can help me, I would really appreciate

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter dazzlingshotscr

    (@dazzlingshotscr)

    Hello

    I really need help with this, I have uninstall and reinstall the plugin, I did some steps that I found in previous posts here, but nothing has resolved it. I am not a tech so I really would like help

    Regards

    Thread Starter dazzlingshotscr

    (@dazzlingshotscr)

    Hello

    I troubleshoot more my issue with foobox, it seems that is working on cell phones and explorer in the laptops, but it doesn’t work when I am using chrome in any laptop.

    Plugin Author bradvin

    (@bradvin)

    hello,

    Please provide a link to your site with the issue. We need a link so that we can see what the problem is

    I had a similar problem some time ago.
    It proved to be a conflict between the JS optimization of my Cache plugin (in my case: WP Fastest Cache) and FooBox’s own attempt to defer JS.

    It was solved by not allowing FooBox to defer its JS-Assets.
    So try to check “Disable Defer JavaScript” in FooBox Advanced settings, clear your cache and test it again!

    Regards
    Oliver

    Plugin Author bradvin

    (@bradvin)

    Thanks for the tip @oschmehr

    Thread Starter dazzlingshotscr

    (@dazzlingshotscr)

    Hello

    Apologies, I replied but not sure why it did not get post, the website is https://www.dazzlingshots.com and I tried Olivier’s option but it did not work, the foobox doesn’t work in chrome, it does for the other browsers.

    Regards

    Plugin Author bradvin

    (@bradvin)

    hi @

    It looks like you are using cloudfare’s rocketship feature which changes the way scripts are loaded on the page, which is causing a problem with foobox.

    You can add this code snippet to your functions.php file to disable cloudfare for foobox only:

    
    function foobox_disable_rocketship( $tag, $handle, $src ) {
        if ( 'foobox-min' === $handle ) {
            $tag = str_replace( 'src=', 'data-cfasync="false" src=', $tag );
        }
        return $tag;
    }
    add_filter( 'script_loader_tag', 'foobox_disable_rocketship', 10, 3 );
    
    Thread Starter dazzlingshotscr

    (@dazzlingshotscr)

    Thank you, but i am not a tech person so I don’t know how to do that. Is there any other easy way to do it?

    Plugin Author bradvin

    (@bradvin)

    I created a small plugin you can use here : https://github.com/fooplugins/foobox-disable-rocketship/archive/master.zip

    download and install it as a plugin and activate. It then adds that code snippet to your site. Let me know if that worked

    Thread Starter dazzlingshotscr

    (@dazzlingshotscr)

    Hello Bradvin

    Wordpress was not able to install the plugin, got an error message, but since you advised me that this issue was related to cloudflare, I decided to stop using it, since it was causing other issues besides this one and now everything is working properly.

    I appreciated your help

    Thanks @oschmehr, your tip works perfectly for me!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Images open full-size instead of lightbox’ is closed to new replies.