WordPress has its own simple built-in Image Gallery that allows you to add multiple images to a page in one easy step. Only images that have been uploaded whilst working on a particular Page or Post can be inserted into the Gallery for that Page or Post. This is because WordPress will create and store a direct association between each uploaded image and its parent Page (or Post).
To insert an image gallery into your Page/Post, click the Add Media button () and then select the Gallery tab on the pop-up window that is displayed.
All the images that appear within the Gallery tab will be used within your Image Gallery. To reorder the images simply click on each row and drag it to its new position. Alternatively, enter in an order number in the small edit field at the end of each image row. Once your images have been arranged, click the Save all changes button to save your updates.
Since the built-in gallery is quite simple, there aren’t that many options to choose from when setting it up.
- Link thumbnails to – This sets what happens when the thumbnail image is clicked. Selecting Image File will open the (full size) image directly in your browser window. Selecting Attachment Page will open the image within one of your WordPress formatted pages.
- Order images by – The order in which the images are displayed. Menu Order displays images in the same order as they appear on the screen. Title orders the images by title. Date/Time orders the images based on their upload time. Random orders them randomly.
- Order – The order can be Ascending or Descending and only applies if Order images by is set to Title or Date/Time.
- Gallery columns – Specifies the number of columns to use when displaying your thumbnail images. Ultimately, this will be dependent on your Theme and how wide your page is. If you find the gallery isn’t displaying properly after changing this number you may need to change it to another number.
If you want to add an image to your Page/Post but don’t want it to appear in the gallery, don’t upload the image whilst working on the Page (or Post). Instead, upload the image directly to the Media Library using the Add New link under the Media menu option in the left hand navigation.