Gallery – core/gallery
Display multiple images in a rich gallery.
Use the Gallery block to display multiple images.
Screenshot
Please set featured imageExample
core.wp-a2z.org wp-a2z.org WordPress Blocks Reference – blocks.wp-a2z.org
Notes
- Default Columns are 3.
- Toggle the Crop Image setting to crop thumbnails to align.
- Select to Link To: None, Attachment Page, Media File.
- Change alignmentUse Change alignment to choose the alignment
- Align leftAlign to the left
- Align centerAlign in the center
- Align rightAlign to the right
- Wide widthIncrease the width of the block beyond the content size. Requires theme support.
- Full widthExtend the block to cover the full width of the screen. Requires theme support.
Gallery transforms to:
- Columns
- Group
- Image