The issue
I am using the Lightbox for Gallery & Image Block plugin. On the default Gutenberg gallery below when I click on an image it opens the lightbox and I can navigate through the images.
However, on the carousel to the left (made using Simple Carousel Block) when I click on an image the lightbox opens, but I cannot navigate to the next slide.
I have added a filter to functions.php:
add_filter( 'baguettebox_selector', function( $selector ) { return $selector . ',.wp-block-rudr-carousel'; } )
but this has not resolved the issue.
How can I tag the images within the carousel (or the carousel itself) properly so that when they open in the lightbox I can navigate between them?
Default Gutenberg gallery




