{"id":11284896,"date":"2019-03-07T09:41:44","date_gmt":"2019-03-07T09:41:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=11284896"},"modified":"2024-06-06T16:55:08","modified_gmt":"2024-06-06T16:55:08","slug":"gallery-block","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/gallery-block\/","title":{"rendered":"Gallery block"},"content":{"rendered":"\n

Go back to the list of Blocks<\/strong><\/a><\/p>\n\n\n\n

The Gallery block<\/em> allows you to easily add multiple photos and automatically arrange them in a gallery. You can control the number of columns and the size of the images in the gallery. <\/p>\n\n\n\n

The Gallery block can be added to a page by clicking on the\u00a0Block Inserter\u00a0(+)<\/strong> icon and selecting the\u00a0Gallery block.<\/p>\n\n\n\n

\"Image
Adding the Gallery block<\/figcaption><\/figure>\n\n\n\n

Alternatively, you can type \/gallery<\/code> and press Enter.<\/p>\n\n\n\n

\"Image
Adding the Gallery block with \/gallery<\/em> shortcut<\/figcaption><\/figure>\n\n\n\n

Detailed instructions on adding blocks<\/a><\/p>\n\n\n\n

Block toolbar<\/h2>\n\n\n\n

Each block has its own block-specific controls that allow you to manipulate the block right in the editor.<\/p>\n\n\n\n

The\u00a0Gallery block\u00a0has a toolbar for the individual images as well as a toolbar for the entire Gallery block.\u00a0<\/p>\n\n\n\n

\"Gallery
Gallery block toolbar options<\/figcaption><\/figure>\n\n\n\n

For the Gallery block<\/h3>\n\n\n\n

The main options in the Gallery block toolbar are:<\/p>\n\n\n\n