• Resolved mathieuaubert

    (@mathieuaubert)


    Hi guys,

    I have a private site with Responsive Lightbox and Tiled Gallery Carousel Without JetPack.

    Tiled Gallery Carousel configuration :
    Enable carousel : No
    Tiled Galleries : Yes

    Responsive lightbox configuration : Nivo Lightbox

    On the single image and on the standard wordpress gallery, Responsive Lighbox works well.
    On Tiled gallery click, in version 1.6.12, Responsive Lighbox works fine too.

    But in version 1.7.0, Responsive lightbox doesn’t works on Tiled gallery.
    In the class-frontend.php, the add_custom_gallery_lightbox_selector function has been modified.
    I think the problem comes from there.

    Do you re-establish compatibility ?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • I recognized the same issue. In former times it worked very well. Maybe Jetpack changed something?

    I’m also glad for a support. Thanks

    Thread Starter mathieuaubert

    (@mathieuaubert)

    Hi,

    I solved my problem with

    /**
     * Responsive Lightbox : Fix tilled gallery
     */
    add_filter( 'post_gallery', 'add_custom_gallery_lightbox_selector', 2000 );
    function add_custom_gallery_lightbox_selector( $content, $attr ){
        if( function_exists( 'Responsive_Lightbox' ) ){
            return Responsive_Lightbox()->frontend->add_links_lightbox_selector( $content );
        }
    }
    • This reply was modified 7 years, 8 months ago by mathieuaubert.
    Thread Starter mathieuaubert

    (@mathieuaubert)

    And responsive lightbox version 1.7.2 fixes the problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Responsive Lightbox is broken with Tiled Gallery Carousel Without JetPack’ is closed to new replies.