• Resolved khamworld

    (@khamworld)


    Hi,

    I’m sorry to bother, but since I last updated Foobox two days ago, pictures on my website are no longer opening in lightboxes.

    Could you please help me shade light on what’s happening, or let me know if I can switch back to the previous version of the plugin?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bradvin

    (@bradvin)

    Hi

    We are looking into this and will report back soonest

    Thread Starter khamworld

    (@khamworld)

    Thanks a lot.

    I don’t know if this can help but here are the debug information below.

    Javascript :

    /* Run FooBox FREE (v2.5.1) */
    (function( FOOBOX, $, undefined ) {
    FOOBOX.o = {wordpress: { enabled: true },
    excludes:’.fbx-link,.nofoobox,.nolightbox,a[href*=”pinterest.com/pin/create/button/”]’,
    affiliate : { enabled: false },
    error: “Could not load the item”};
    FOOBOX.init = function() {
    $(“.fbx-link”).removeClass(“fbx-link”);
    $(“.gallery,
    .wp-caption,
    a:has(img[class*=wp-image-]),
    .post a:has(img[class*=wp-image-]),
    .foobox”).foobox(FOOBOX.o);
    };
    }( window.FOOBOX = window.FOOBOX || {}, FooBox.$ ));

    FooBox.ready(function() {

    jQuery(“body”).append(“<span style=\”font-family:’foobox’; color:transparent; position:absolute; top:-1000em;\”>f</span>”);
    FOOBOX.init();
    jQuery(‘body’).on(‘post-load’, function(){ FOOBOX.init(); });

    });

    Settings :

    Array
    (
    [enable_galleries] => on
    [enable_captions] => on
    [enable_attachments] => on
    [hide_scrollbars] => on
    [show_count] => on
    [count_message] => item %index of %total
    [error_message] => Could not load the item
    [close_overlay_click] => on
    [enable_debug] => on
    )

    I had this problem, but when I deactivated the plugin “Facebook Like Share Follow Button” from A WP Life, it started working again.

    Plugin Author bradvin

    (@bradvin)

    Your theme is running an extremely old version of jQuery (1.4.2) which is causing the problem. It needs to be version 1.7 or higher with the more updates to FooGallery.

    FYI jQuery 1.7 was released in Nov of 2011 – https://blog.jquery.com/2011/11/03/jquery-1-7-released/

    Your theme should rather enqueue jQuery which is bundled with WordPress. WP currently loads jQuery v1.12.4.

    Ask the developer of your theme to not include their own version of jQuery, but rather enqueue jQuery that comes bundled with WP.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Foobox not working since the last update’ is closed to new replies.