The Gallery block is an alternative to the WordPress core Gallery block.
The main advantage of the ska/gallery
block is that it can render an image gallery with a simple and predictable markup: .wp-block-ska-gallery > .image > img
.
When disabling the Wrap option, the gallery will not render any parent element, only .image > img
elements. This makes it possible to use the Gallery block inside the Slider block for example, making each image a separate slide. How ever when using the Gallery block without a wrapper you shouldn’t add any Tailwind classes to it, instead add them to its’ parent block.
Basic gallery
Images: https://picsum.photos
Logos with individual links
Images: https://logoipsum.com