1. Home
  2. WordPress Tutorials
  3. How to Create an Image Gallery in WordPress

How to Create an Image Gallery in WordPress

If you love taking photos and want to create an image gallery in WordPress to display them, you might wonder how much of a challenge is in store for you. Fortunately, creating a clean-looking gallery on your blog is not as complicated as you might expect. Although many people search for WordPress plugins to simplify this task, plugins are not actually necessary. Instead, you can use the gallery options provided by WordPress itself. Here is a complete guide on how to use this feature. Not only will you learn to make an attractive gallery with your pictures, but you will also discover ways to place your images in carousel view for the full-screen enjoyment of your readers.

Before you can start building a gallery, you will need to make a new post. However, you can simply click the “Edit” button if already have a post that you want to embellish with a gallery. At the post editing screen, just click on the button labeled, “Add Media.”

Immediately, you will be taken to the media uploader for WordPress. Find the “Create Gallery” link at the left of the screen and click to get started. You can either build your gallery from images you have already uploaded to your media library or from images on your computer. This step is a breeze because you only need to click the images you want in order to add them to your gallery. As you select images, check marks will appear on the images so that you do not add the same images twice.

Select all of the pictures you want to put in your gallery and click on the button labeled, “Create New Gallery.” The images you selected will show up in the “Edit Gallery” view. You can then give your pictures captions or drag and drop your images in the perfect positions for your new gallery. Finally, click the “Insert Gallery” button to complete the process.

The code for your image gallery will be inserted into your post when you click, “Insert Gallery.” In the Visual Editor, a box will appear in the post edit area to notify you that gallery code is being used. However, if you are writing your post with the simple text editor, gallery shortcode will appear. This may be similar to the following:

[ gallery ids=”3,7,4,8,9,12,15,16″ ]

You can check your gallery by clicking on the button labeled, “Post Preview.” If you want to change the way your gallery looks, you can click the “Add Media” button to change settings. Options you can edit include the number of image columns, the order of images and the addition or removal of images and their descriptions. As soon as you are satisfied with the gallery and publish the post, all of your readers will be able to view your images.

You can use this same process to add galleries to WordPress pages. Whether you are making a gallery in a post or a page, you can also change the way readers can view your gallery.

You may already be familiar with this image browsing interface if you have used the Facebook photo viewing feature. When carousel view was first released, it was a component of the Jetpack plugin, which includes a number of WordPress.com plugins. Unfortunately, Jetpack forced users to connect their sites to WordPress.com whether or not they needed to do so. Ultimately, the carousel plugin was released on its own for users who want this functionality without the fuss.

You can use carousel view for your gallery by installing and activating the carousel plugin without Jetpack. After completing activation, carousel view will work right away without requiring you to change any settings. Simply go to your post where you have created a gallery and click on one of your images to see how carousel works.

A number of settings allow you to personalize carousel view. To change these settings, go to “Settings,” select “Media” and find the options for carousel view. You can toggle the background color between black or white, turn off exit data or even disable carousel view altogether.

A number of other plugins can be used to make dazzling WordPress image galleries. Many people are happy with carousel view as it is, but you can achieve total personalization of functionality and appearance if you are willing to work with the gallery code. In case you plan to use images heavily in your blog in the future, you may also want to consider checking out some of the more popular WordPress themes designed with photographers in mind.

You should now be able to create your image gallery in WordPress and customize it to your liking. As you can see, the flexibility of WordPress really simplifies photoblogging for the visually minded. Whether you plan to use galleries frequently or only occasionally, both you and your readers will benefit from the practical and aesthetic aspects of this feature from the WordPress platform.

Author: Kaumil Patel

Kaumil Patel is the Chief Operating Officer of GreenGeeks and has over 13 years of experience in the web hosting industry working for and owning web hosting companies. Kaumil’s expertise is in marketing, business development, operations, acquisitions and mergers.

Updated on August 8, 2017

Was this article helpful?

Related Articles


  1. Hello, I am helping my husband construct a website for a book he has just published. I am testing the gallery carousel and read with interest your article regarding the the WordPress gallery carousel option to change the background. Oddly, when I change this Media Setting from black to white, there was no change. Any advice?


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.