Display multiple images in a rich gallery.
<figure class="wp-block-gallery has-nested-images columns-default is-cropped">
<figure class="wp-block-image size-large"><img src="{src}" alt="{alt derived from media library, not synced}" class="wp-image-620"/></figure>
<figure class="wp-block-image size-large"><img src="{src}" alt="" class="wp-image-614"/></figure>
<figure class="wp-block-image size-large"><img src="{src}" alt="" class="wp-image-566"/><figcaption class="wp-element-caption">Image with Caption</figcaption></figure
<figure class="wp-block-image size-large"><img src="{src}" alt="" class="wp-image-744"/></figure>
</figure>
One response to “core/gallery”
Default `figcaption` styles can introduce color-contrast issues. Font size is very small. Can dominant color be used to help with color-contrast management for these?