While WordPress core includes a gallery block, and there are other third-party gallery plugins with more bells and whistles, this block provides a simple gallery which matches the style and layout of the other Theme blocks.
It is similar to the Image Tiles block, but without the large, central text overlay or the link option. Both blocks can produce similar outputs, but if you just want to display a gallery of images, the Gallery Grid block makes adding multiple images simpler.
Settings for the block are:
Number of columns: 1, 2, 3 or 4 (this is the maximum, actual columns may be reduced at narrower screen widths)
Grid Balance: if enabled, this will ensure that there aren’t empty spaces in the final row of the block, which is achieved by automatically by spanning some tiles over two columns
Show Captions: will show or hide the image captions; note that these are the default captions saved for each image in the Media Library (rather than the one-off captions which can be set when placing individual images in posts and pages) modify a caption while adding an image to the gallery, this will change its caption in the Media Library and anywhere on your site where the image caption is displayed.
Data inputs for each image are:
Images: add images from the Media Library or uploaded from your computer; the minimum size for images is 592 x 333 px, so images smaller than that will be greyed out in the Library and uploads will fail.
Once added to the gallery, you can click on an image to modify its caption, but note that modifying a caption will change it in the Media Library and anywhere on your site where the default image caption is displayed.
Images can be reordered by date or title or with drag & drop.
See the Gallery Grid example page.