How to create image gallery in WordPress website

Do you know how to add image gallery in a WordPress website? 

How to create image gallery in WordPress website

An image gallery is an important section for every website to display photos in one place. Using a photo gallery, you will be able to display many photos in a small space

On the other hand, you can also see all the photos via Lightbox. Image galleries are not only visually appealing but also an effective way to present your photos, artwork, products, or any other visual content to your audience.

In this tutorial, I will show you the full step-by-step process to create an image gallery in WordPress website. So, without wasting time let’s begin.

Also read: How to add a WordPress table of contents to posts?

Why do we create image gallery in WordPress website

WordPress is a popular CMS that allows you to make more customizable websites. So creating an image gallery is easy for WordPress and you can add it to any page. You do not need any coding knowledge. Now let’s know more about why we create an image gallery for our site.

If you want to add many images to your site, an image gallery is very helpful to you. You can add many images within a short space. Image galleries allow you to display images in an organized and visually pleasing manner. It helps to make your site more attractive and also captures the user’s attention.

Images can tell a story, convey emotions, and provide context that text alone may not achieve. A gallery allows you to present a narrative or showcase a progression of events or products effectively.

If you are a photographer, artist, designer, or other creative professional, image galleries are essential for displaying your work. It provides a professional platform to showcase their portfolio and demonstrate their skills.

Galleries enable you to categorize and organize images into albums or categories, making it easier for users to find specific content. It also helps with accessibility for users with disabilities who rely on screen readers.

Also read: How to Reset WordPress Website?

Creating an image gallery using plugins is not hard. There are lots of plugins available that allow you to create an image gallery with just a few clicks. Besides, some plugins only offer Gutenberg blocks to create a gallery. So if you use any page builder, how to display an image gallery?

Well, I have the solution. Here I will introduce a plugin that provides shortcodes. So which builder you use is not a fact. In this tutorial, I will use the “Modula image gallery” plugin. So without further ado, let’s start.

Step 1: Install and Activating plugin

To create an image gallery, we just need to install a plugin. Modula Image Gallery is a free plugin, so we can easily install it from the WordPress repository. To install the plugin, go to WordPress Dashboard >> Plugins >> Add New. Now you will be redirected to the plugins page and search for the “Modula Image Gallery” plugin. Now Install and activate the first plugin.

Install Modula Image Gallery plugin

Creating an image gallery is easy with Modula. It offers essential options to create an image gallery. Go to WordPress Dashboard >> Modula >> Galleries >> Add New

modula to image gallery

Provide the image gallery title and upload or select the images from the media library. 

Now select the layout that you want to use and click on the Save Gallery button. 

You will get a shortcode and copy it.

Copy shortcode

Now go to the page where you want to display the gallery. Add a shortcode widgetpaste the shortcode, and update the page.

Insert shortcode

If you visit the page, You will see a beautiful gallery with your selected layout. Now let’s see other more features of this plugin. You will see many options under the settings tab and those are:

General: From the general tab, you can change gallery type, gutter, Width, Height, Image size, and much more.

Image gallery settings

Lightbox & Links: You can control lightbox and links from Lightbox & Links settings

Lightbox & Links settings

Captions: You can also hide or show captions, select color, and much more from the Captions tab.


Social: Enable or disable the social share bar from the social tab.

Social settings

Image Loading Effects: The loading Effect tab allows you to add image loading effects.

Image Loading Effects

Hover Effects: You can also add different hover effects that you want.

Hover effects

Style: If you want to style your gallery images like border, shadow, etc you can do it from the style tab.

Style tab

Custom CSS: If you have coding knowledge, you can make your gallery more attractive and professional by adding custom CSS code. This plugin has the option to add custom CSS.

This plugin also offers many essential features on their premium version. So if you want to use more features, buy the pro version of this plugin.

Also Read:How to create contact form in WordPress?


Creating an image gallery in WordPress is an easy process that can greatly enhance the visual appeal of your website. This plugin that I used above provides advanced features and extensive control over your image galleries to make your gallery unique.

Whether you are using Gutenberg, Elementor, or other builders to design your site, it is not a matter. You can use shortcode on any website. This is a fully responsive plugin but if you want you can control responsive columns from settings.

These plugins offer various display options, lightbox effects, and the ability to create multiple galleries with unique settings. They are perfect for users who require a more robust and customizable gallery solution.

No matter which method you choose, the key takeaway is that WordPress offers flexibility and versatility when it comes to creating image galleries. You can tailor your gallery to match your website’s design, enhance user engagement, and showcase your visual content in a professional and eye-catching manner.

By following the steps outlined in this tutorial, you can confidently create stunning image galleries in WordPress, elevating the overall look and feel of your website while effectively showcasing your content to your audience.

If you face any problem/issue with creating an image gallery, comment below. Continue reading more helpful articles from our blog.

Leave a Reply

Your email address will not be published. Required fields are marked *