Gallery

A gallery allows you to show multiple images to your users quickly and easily using a grid format.

Demo

How to Use

The easiest way to create a gallery is by clicking Add Media > Create a gallery when you are editing a post or page. However, you can also create a gallery using the gallery shortcode and image IDs, such as in the example below.

[gallery link="none" ids="210,206,45"]

Example

The example code above will create this element:

Best Practices

  • Do not link to the attachment image when inserting galleries.
  • Limit galleries to a reasonable number of images, such as 20.