Gallery Block

Short url: https://ewp.guide/go/be/gallery-block

The Gallery Block allows you to add an image gallery. After inserting the Gallery Block, click the Add button on the Block Toolbar to add your images to the block. After clicking Add, you can either open the Media Library with the Open Media Library option and select from your existing images or drag ’n drop new images to the Media Library, or you can simply select the Upload option to browse your computer and select the images to upload. Alternatively, simply drag ’n drop your new images onto the Gallery Block and they will be automatically uploaded to the Media Library and inserted into the Block.

Once you've added your images to your block, there are further options available in the Settings Sidebar. You can choose the number of columns that your image gallery should display. You can also elect to have your thumbnails cropped so that they align more evenly.

Using the Link To dropdown field, you can choose to link each gallery image to the media file itself, or link to the WordPress attachment page for that file. Alternatively, you can also choose not to have any links on your gallery images.

You can add a caption to each image when you upload them to your Media Library, or by simply clicking on each image once it’s in the Gallery Block, and entering the caption into the field provided. You can also add a caption for the whole gallery by entering some text into the ‘Write gallery caption…’ field at the very bottom of the Gallery Block. How your captions display will be dependant on the theme you’re currently using.

Clicking on each individual image within your gallery will also provide you further options for that particular image, such as adding a link, cropping, or applying a duo tone filter. You can also replace individual images by clicking the Replace button on the toolbar that displays after selecting an individual image.

Each image within the Gallery Block is its own seperate Block, so to change the overall layout of the Gallery Block you need to ensure that you select the outer Gallery Block itself, rather than an individual Image Block.

The various options for this block are located within separate Settings () and Styles () tabs, in the Settings Sidebar.

Gallery Block