How to Create an Image Gallery in WordPress

>How to Create an Image Gallery in WordPress

For those of you that don’t like to keep installing plugins for all sorts of stuff, you’ll be happy to know that WordPress has a built-in image gallery feature!

The gallery in WordPress is pretty simple, nothing fancy, but it gets the job done, and in this post, you’ll see it in action!

How to create a gallery in WordPress

So, if you are reading this post, I assume you already know how to upload images in WordPress. Therefore, I’ll start the tutorial with the images already uploaded and ready to be used.

Make sure that you optimize the images before and after uploading them.

Now, in order to create an image gallery in WordPress, you need to:

1. Click the Add Media button.

add media in wordpress

2. Click the Create Gallery link found on the left side.

create gallery link

3. Select the images that you want to add into the WordPress gallery by clicking on them while holding down the CTRL or CMD button on your keyboard.

select multiple images in wordpress

4. Clicking the Create new gallery button found at the bottom-right.

5. A new window will appear, where you can reorder your images, reverse their order, delete an image, add captions to them, and also configure the Gallery Settings.

wordpress gallery settings

In the gallery settings, you have:

  • Link To – choose where you want the images to link to when a user clicks on them:
    • Media File – displays the image itself;
    • Attachment Page – displays the attachment page of the image;
    • None – clicking on them does nothing.
  • Columns – speaks for itself;
  • Random Order – the gallery will display the images randomly every time the page is loaded;
  • Size – choose the size of the images within the gallery:
    • Thumbnail;
    • Medium;
    • Large;
    • Full size.

6. After configuring the gallery’s settings, insert the gallery by clicking the Insert gallery button.

And this is how it looks on the front-end:

wordpres gallery front-end

Pretty cool, right?

How to edit the WordPress gallery

If you want to edit the gallery after you inserted it, switch to the Visual editor, if you were not working on it already, click on the gallery, and then click the Edit icon.

edit wordpress gallery

If you prefer using the Text editor instead, like I do, or you have the Visual editor disabled, then you can edit the shortcode, if you know your way around with them.

wordpress gallery shortcode

Here’s a guide on the gallery shortcode.

That’s a wrap

Hope the tutorial was comprehensive enough, and you understood how to create a gallery in WordPress.

If you have any questions or thoughts, drop a comment, contact us or message us on Facebook.

You can also follow us on Twitter and subscribe to our YouTube channel.

If you want to start your own WordPress blog, or need a website for your business, our WordPress installation service is at your disposal!

You can also purchase a ready-made WordPress website with hosting and support included!

By |2018-08-03T18:17:34+00:00April 30th, 2018|WordPress|0 Comments

Leave A Comment


20% OFF + 4 months FREE on WordPress hosting
Offer expires on 11/30/2018
To celebrate the release of the Gutenberg editor, WP Engine is offering:
  • 20% OFF the first payment on their shared WordPress hosting plans;
  • 4 months FREE on any annual subscription.

And there's more! Since WP Engine bought StudioPress, all their customers get FREE access to the StudioPress themes, including the Genesis Framework!
Disclosure: If you make a purchase using this affiliate link, I might receive a commission from WP Engine, at no additional cost to you! Thank you!