This website uses cookies in order to offer you the most relevant information and services online. Please accept cookies for optimal performance.
Learn More

Create an Image Gallery in a WordPress Post

WordPress has a built-in feature that allows users to create an image gallery. In this article, we will guide you how to create an image gallery in WordPress.

Open the post in which you want to add an image. Click on the text where you want to add the content and click on the 'Add Media' button in the top left part of the editor as shown in Figure 1.

Figure 1
Figure 1

This will open the WordPress 'Insert Media' uploader. Now you need to click on 'Create Gallery' link that you see on the left side of the screen as shown in Figure 2.

Figure 2
Figure 2

To add images to the gallery, you can either upload the images from your computer or choose existing images from the Media Library (images that you have previously uploaded to your website). Select the images you want by clicking on them. This will add a checked mark that you see on each image as shown in Figure 3.

Figure 3
Figure 3

Once you have selected all the images that you want to add to the gallery, click on 'Create a new gallery' button in the Create Gallery screen as shown in Figure 4.

Figure 4
Figure 4

Upon doing so, you can see your selected images in the Edit Gallery view. Here you can add captions to your images, change gallery settings, and rearrange the order of images by simply dragging and dropping them in the order you want them to appear in. Once you are done with editing the gallery, click on the 'Insert gallery' button as shown in Figure 5.

Figure 5
Figure 5

Clicking on 'Insert gallery' button will close the media uploader and insert the gallery code inside your WordPress post. If you are using the Visual Editor then you will see a box in post edit area indicating that there is gallery code as shown in Figure 6.

Figure 6
Figure 6

If you are using simple text editor mode to write your post, then you will see your gallery shortcode as shown in Figure 7.

Figure 7
Figure 7

Check your gallery by clicking Preview button. You can always click on Add Media button to edit gallery settings. You can rearrange order, increase or decrease image columns, add or remove an image or description. You can then publish your post and your gallery will be visible to users.

You can add an image gallery to WordPress pages, using the same method.

Give your feedback to improve the article

Latest Product Updates

Get the latest news and updates about Batoi Products - articles and product releases.

Need our assistance? We are available with you.

Existing Customer?
Get Support
Talk To Consultant?
Get An Appointment
Contact Us

Batoi global offices and contact details

Stay Connected

Join our community, newsletters, and social media.

Batoi's Annual Cloud Conclave is coming soon. Please watch out.