Do you know how to create an image gallery in WordPress? If not, this article is the perfect place for you. In today’s blog, we provide a step-by-step guide with the easiest and most effective solutions. Let’s take a look.
Why should you create an image gallery in WordPress?
If you are going to showcase multiple images on your site, a gallery is considered the best option, because it not only makes your page more attractive at first sight but also engages your visitors and increase the time they spend on your page. In addition, there is no denying that visuals can have a much greater impact than text-heavy content.
Moreover, people tend to respond more strongly to images than to text. Thanks to that, you can reduce the bounce rate and keep visitors engaged; as a result, you have more chances to increase conversion rates.
One of the other important reasons is that creating a beautiful image gallery can help you improve SEO. The number of image searches is often lower than the number of text searches, so you can take your images to higher rankings easily and draw more visitors as well.
How to create an image gallery in WordPress?
Fortunately, there is a wide range of flexible ways that can help you create an image gallery in WordPress with a few clicks. You can either build image blocks with the Gutenberg editor or create a gallery with the Classic Editor. Besides that, developers also offer a lot of useful plugins to help you organize your image gallery better by changing designs and styles with many available options. In today’s tutorial, we will teach you how to create an image gallery with the Classic Editor and one outstanding plugin. Let’s start.
Solutions
Method 1: Creating an image gallery with the Classic Editor
Classic Editor is the old default editor of WordPress. This plugin is a lightweight content editor that allows simple formatting. Classic Editor is suitable for those who have professional coding skills to create rich content. If you are using this editor, it is a great choice because it also allows you to create a simple gallery with a few clicks. Now, let’s dive into the step-by-step guide below.
Stage 1: Uploading the image you want to showcase
Firstly, you need to go to Page/Post > Add New on your dashboard and enter a title for your gallery. In the editor, let’s click on the Add Media tab above the editing area to upload all images from your files.

The process of uploading images can take a few seconds or minutes, depending on your internet speed and the number of images you upload. Wait a few moments until your images are uploaded.
Stage 2: Adding images to your gallery
Once all your images are ready in the Media Library, navigate to the Create Gallery option on the left sidebar.

Choose all the images you want to showcase in your gallery. The number of images that you have selected is shown below this field. For example, we have just selected 10 images to display.
Next, take a look at the Attachment Details field. This field allows you to add a title, alt text, and a caption or description for each image. In addition, you can view the image’s URL.

After filling in all the information in this field, it is time to create an image gallery. Click on the Create a new gallery button at the right of the screen.
Stage 3: Add your image gallery to your page
At this stage, you are able to edit your gallery with ease. It allows you to reorganize the order of the images in your gallery with a drag and drop interface. In addition, you can easily add a caption below each thumbnail. If you want to remove an image, you can click on the X symbol to remove it quickly. What’s more, if you want to add more images, just click on Add to Gallery in the left sidebar and redo the same steps as before.
In the Gallery Settings fields, you need to consider four options:
- Links to: This option will link the image to the attachment page or to the source image file itself.
- Columns: You can optionally select the number of columns that you want to display. 3 columns are recommended for most sites.
- Random order: If you tick on this option, your gallery will display your image thumbnails in a random order each time.
- Size: It allows you to change the size of each image. The available options include Thumbnail, Medium, Large and Full Size.
After completing all settings, you can click on Insert gallery to insert your gallery into the WordPress editor.

This is how it looks on the WordPress editor.
If, for any reason, you want to edit, add images, add captions and much more, simply click on the pencil icon to edit. In addition, if you want to remove this gallery, click on the X symbol. Don’t forget to click on the Publish button to publish your page.

And now, our gallery looks like this after publishing.

Method 2: Using FooGallery Plugin
FooGallery Plugin is an easy-to-use image gallery plugin. It comes with a lot of stunning gallery layouts and effects. Thanks to that, your gallery looks more attractive than ever. In addition, it is also responsive, retina-ready, and supports lazy loading to help you create an image gallery quickly. FooGallery has received a lot of positive feedback and 5-star ratings, so you can rest assured about the quality of this tool. Now, let’s go over the following steps to create a beautiful gallery with the FooGallery plugin.
Stage 1: Installing and activating FooGallery Plugin
First, go to Plugins>Add New on your dashboard and enter FooGallery in the search bar. Then click on the Install Now button and activate it.

Stage 2: Building a beautiful image gallery
After you have installed and activated the plugin, you can start building your image gallery by switching to FooGallery> Add Gallery in your dashboard.
Here, you can enter a title for your gallery and click on Add From Media Library button to upload the images you want to showcase.

After that, you can modify some general options for your gallery by clicking on the General tab.
In our case, we will set the Width and Height of thumbnails to 150px. You can optionally choose the layout for mobile.
The Thumbnails links option allows you to determine what happens when the user clicks on one of the thumbnails. You can select the first option, as in our case, so your image will be displayed in full size. If you want to create a gallery of product images, choose Custom URL to open a particular product page.
In addition, you can customize the spacing and the alignment depending on your preference.

To view how your gallery looks after changing these settings, you should click on the Gallery Preview button.

Under the Appearance tab, you can optionally customize the border size, choose a light or dark border, and set the size of rounded corners. If the Rounded Corners is set to None, the thumbnails will be shown as squares or rectangles.
The Loading Icon setting is used to choose the icon that is displayed before the thumbnails have loaded.
You can set Loaded Effect to make your gallery more impressive after loading. In our case, we choose Fade In animation.

The next tab is the Hover effect, you can choose the type of effect, color effect, scaling effect and transition. This will make the thumbnails look more eye-catching and clear when a user hovers over them. For the Icon setting, this feature allows you to determine the icon that will appear in the overlay. It lets users know that clicking on the thumbnails will display the full-size image.

The Caption setting enables you to set which words to display as your title and description. You can also set the default for the title and description field so that your titles and descriptions are imported from the same source. Otherwise, you can customize these in the Captions tab for each gallery.
The alignment field allows you to choose whether your caption appears on the left, right, or center of the thumbnail. You can optionally select justified captions or leave this field as it is, which means it will use the default.
If you want to limit the caption length for the thumbnail, this plugin allows you to do that. This will not affect the caption length when the image is opened in a lightbox.

Next, switch to the Paging setting. This plugin provides pagination in the form of dots. So, in order to use Pagination, you need to select Dots at Paging Type fields. Then you will have more options for how you set up your gallery pagination.
You can set your page size, determine where the dots appear (at the top, bottom or both), and choose the color of the dots (either dark or light).
Scroll to Top enables the gallery to scroll to the top of the page when the page is changed. And lastly, you should consider choosing the JSON option or HTML option at the Paging Output field. This option depends on the number of images in your gallery. If this is a large gallery, JSON is recommended. Otherwise, you should choose HTML.
For the Filtering and video tab, you need to upgrade to the Pro version to use these features.

After creating a beautiful gallery, click on Publish and get your gallery shortcode as in the screenshot below. Then, you can paste it anywhere on your page/post.

Now, let’s take a look at the result.

Stage 3: Adding your gallery to the menu
Simply visit Appearance>Menu and choose the page that you want to add to the menu. Click on Add to menu. You can also choose its position among the menu items. Don’t forget to click on Save Menu to save your changes.

And this is how it looks on your page.

Summary
We have just provided the two easiest methods to help you create an impressive image gallery in WordPress. Hopefully, you can now choose the best way to create a gallery for your site. If these solutions don’t meet your requirements, you can refer to other options by accessing WordPress Image Gallery Plugin to get one.
If you encounter any problems while using these solutions, don’t hesitate to leave a comment below, we are always ready to support you.



