• Resolved beatcore

    (@beatcore)


    Hello,

    I have a problem with the lightbox. It seems to be used for Gutenberg gallery images, but it opens the images in the size of the gallery preview images. E.g. if i use “medium” in the Gallery, the Popup of the lightbox only opens up the medium image.

    Is there a way to open bigger images like the full-size oder large ones?

    thank you,
    best regards

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

    (@htmgarcia)

    Hi @beatcore,
    are you using the native Gallery block with the lightbox features from Advanced Gutenberg?

    marcinapah

    (@marcinapah)

    I have the same problem
    My solusion to this is changing file “gallery.colorbox.init.js” line 21
    from:
    return $(this).find('img').attr('src');
    to
    return $(this).find('a').attr('href');
    but this only works untill nearest update.

    Thread Starter beatcore

    (@beatcore)

    Hi,

    my source code is the following:

    <div id="cboxOverlay" style="opacity: 0.9; cursor: pointer; visibility: visible;" class="advgb_lightbox"></div>

    followed by:

    <div id="colorbox" class="advgb_lightbox" role="dialog" tabindex="-1" style="display: block; visibility: visible; top: 330px; left: 663px; position: fixed; width: 578px; height: 438px;">

    Both have the class “advgb_lightbox“, so i think it’s the Advanced Gutenberg lightbox here. The gallery is the standard Gutenberg gallery. Seems it automatically uses your lightbox.

    Plugin Author htmgarcia

    (@htmgarcia)

    @beatcore may you share the whole HTML from “Code editor” mode and detailed step by step guidelines to reach the issue? Do it through the contact section from our site: https://publishpress.com/ – Include the link of this forum topic as reference.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lightbox Issues – advgb_lightbox’ is closed to new replies.