Image Gallery

Settings

This section will help you set up the block. Let’s check out the available options.

  1. Gallery Type: Choose between a Justified or a regular columned gallery type.
  2. Row Height: This is used as a lower bound for the height of each row in justified galleries.
  3. Margins: Controls the spacing between gallery images.
  4. Last Row: Controls how the last row is treated in justified galleries. The row can be justified, aligned left, right or center, or hidden entirely.
  5. Randomize: Randomizes the image order on each page refresh.

Block Appearance

Under the block appearance tab you can control how the block looks. Let’s take a look a the options.

  1. Background Color: Controls the color of the block’s background.
  2. Border: This option allows you to select the border style via the drop down and then select the border color and width.
  3. Border Radius: This option allows you to round the image’s corners.
  4. Box Shadow: This option allows you to apply an inset/outset box shadow, its color, spread, blur radius and offset.
  5. Padding: With this option you can individually (or collectively) control the padding on each side of the block.
  6. Margin: With this option you can individually (or collectively) control the margin on each side of the block.

Notice that the Padding and Margin options have three icons next to their label. These are the Desktop, Tablet and Mobile icons. By clicking each icon you can separately modify the values of padding/margin for each device.


Visibility Settings

Via the Visibility Settings you can hide the block for certain type of device or user.

The Viewport visibility toggles allow you to hide the block on desktops, tablets and mobiles. You can choose to hide it on more than one device type.

The Authentication visibility toggles allow you to display the block only to logged in or logged out users.


Image Settings

Via the image settings metabox you can select where each gallery image will link to and the source image size among the available sizes in your WordPress installation.


Animation Settings

Via the Animation controls panel you can set up how you want the block to animate upon entering the viewport as your visitors scroll.

  1. Animation type: Choose the animation type for the block. You can select from Fade, Slide Up / Down / Left / Right, Zoom In / Out, and Flip Up / Down / Left / Right. Set to None if you want to disable the animation.
  2. Duration: Controls how long the animation will take from start to finish. Defaults to 0.7 seconds.
  3. Delay: Controls the delay from the moment the element enters the viewport to the moment when the animation will begin.
  4. Easing: Controls the animation’s easing. Refer to the easings page for a visual representation.
  5. Repeat animation: Repeat the animation for the block every time it enters the viewport. While your users scroll down the animation will fire, and when they scroll back up it will fire again. Every time the block leaves the viewport the animation will be reset.

Note: If you don’t plan on using animations you can turn them off globally in Settings > GutenBee settings. You can disable the “Enable block animation controls” checkbox and the animation panels and scripts will stop showing up and loading.