How to Create an Image Gallery in WordPress (2 Easy Ways)

How to Create an Image Gallery in WordPress

An image gallery is a collection of photos displayed together in one place on a web page or blog post. It helps you organize visuals neatly and present them in an engaging, professional-looking layout. WordPress includes a built-in Gallery block that allows you to create simple galleries without installing any plugin.

Whether you run a blog, portfolio, travel site, photography page, or online store, galleries make it easier for visitors to browse multiple images at once. This improves user experience and enhances the overall look of your content.

In this post, we’ll show you two easy methods to create image galleries in WordPress. First, we’ll walk you through creating a gallery using the default Gallery block. Then, we’ll show you how to build more advanced and highly customizable galleries using the Galleryberg plugin. Read till the end to choose the option that best fits your needs.

Now, in this section, we’ll explain the process of how to create an image gallery in WordPress, without using a plugin. Let’s begin!

Step 1: Open Your Page or Post

Log into your WordPress dashboard. Open the post or page where you want to create the gallery.

Open Your Page or Post to Create a Gallery

In the editor area, click on the plus (+) icon to add a new block. In the block search bar, type ‘Gallery‘ and select the Gallery Block.

Add a Gallery Block

Step 3: Upload or Select Images

Once the Gallery block is selected, you’ll get two options to add images. They are:

  • Upload (add images from local drives)
  • Media Library (already saved in your site’s media library)
Upload or Select Images for Creating Gallery in WordPress

Now, choose the option by which you want to add images to the gallery. For this tutorial, we’ll choose the Upload option.

You can see that we have already added images to the gallery using the Upload option.

Images added to the gallery

Step 4: Arrange Your Images

After images are added to the gallery, if you want to change the position of the images, you can do this by dragging. See the process in the video attached below.

Hope you already know that alt-texts help Google understand the type and meaning of your images. Google uses these alt-texts to preset these images to users based on their search queries.

Select each one by one and add the necessary alt-texts.

On the right sidebar, you will see gallery settings. You can choose: the number of columns and image resolution (thumbnail, medium, large, full size). Do the necessary configuration as needed.

To get these options, select the entire gallery by clicking the gallery block.

Configure Gallery Settings

Step 7: Publish or Save

When everything is done, publish or save the gallery by clicking the respective button.

Publish or save the gallery

Thus, you can simply create a gallery on WordPress without using any button.

Method 2: Using the Galleryberg Plugin

If you want more flexibility than the default Gallery block offers, consider using the Galleryberg plugin.

Galleryberg is a free Gutenberg‑ready gallery block that adds extra layouts (tiles, square, masonry, justified, and mosaic) along with a responsive lightbox and detailed styling controls.

Now let’s see how to create an image gallery using the Galleryberg plugin.

Step 1: Install and Activate the Plugin

First you need to install the plugin. From your WordPress dashboard go to Plugins > Add New and search for “Galleryberg”. Click Install Now on the Galleryberg card and then click Activate to turn it on.

Alternatively, you can download the ZIP file from WordPress.org and upload it manually. Once activated, Galleryberg will be available in the block editor.

If you’ve already created a Gallery with the core Gallery block, you can transform it to the Galleryberg block.

Simply click on the Gallery icon from the toolbar and click on ‘Galleryberg Gallery’ under the ‘TRANSFORM TO’ option.

The Gallery block will be converted to Galleryberg block

Step 3: Insert the Galleryberg block

To create a new Gallery, cllick the + button to add a new block and type “Galleryberg” in the search bar. Select the Galleryberg block.

The block will appear in your editor ready to accept images.

Click the Upload button to add new images or choose Media Library to pick from existing images. Select the photos you want to include.

The images will immediately appear inside the Galleryberg block, and you can rearrange them by dragging.

Step 5: Choose a Layout

Galleryberg offers several layouts that aren’t available in the default Gallery block. You can choose from tiles, square, masonry, justified, or mosaic (pro) styles. Tiles and square layouts create a classic grid, while masonry and justified layouts arrange images dynamically to make the best use of space.

To pick a layout, select the gallery block and use the Layout dropdown in the right‑hand sidebar.

One of the biggest benefits of Galleryberg is its detailed customization options. In the block settings you can:

  • Set the number of columns from 1 to 6 and adjust spacing between images.
  • Decide where captions should appear (Below Image, Full Overlay, and Bar Overlay)
  • Add borders or rounded corners using the Border and Border Radius controls.

These settings allow you to match the gallery style to your theme and create a consistent look.

Step 7: Enable the lightbox (optional)

If you want visitors to click on images and see them in a larger popup, enable the Lightbox feature in the sidebar. Galleryberg’s built‑in lightbox offers smooth zoom animations, keyboard and touch navigation, looping and zoom controls. Visitors can move between photos using arrow keys or swipe gestures on mobile devices, and the lightbox is fully responsive.

Step 7: Publish or Update Your Page

Once you’re happy with the layout and settings, click Preview to see how the gallery looks, and then hit Publish (or Update if you’re editing an existing post).

Your gallery will be visible on the front‑end with the chosen layout and customizations.

Using Galleryberg is an excellent way to go beyond WordPress’s basic gallery functionality. With advanced layouts, lightbox effects and precise controls over columns, spacing and image appearance, you can create a professional‑looking gallery that matches your brand and improves user engagement.

Quick Comparison

Feature

Default Gallery Block

Galleryberg Plugin

Basic grid

✔️

✔️

Lightbox popup

✔️

Multiple layout styles

✔️

Detailed styling controls

✔️

FAQs

What’s the easiest way to create an image gallery in WordPress?

The simplest way is to use the built-in Gallery block inside the Gutenberg editor. You can upload images, arrange them, and configure basic settings without installing any plugin.

Do I need a plugin to create image galleries?

What is the difference between the default Gallery block and the Galleryberg plugin?

Can I change the order of images in a WordPress gallery?

How do I add alt-text to images in a gallery?

How do I enable a lightbox for my image gallery?

What gallery layouts does Galleryberg offer?

Can I adjust the number of columns in my gallery?

Does the Galleryberg plugin work with all WordPress themes?

Can I create multiple galleries on the same page?

Conclusion

Creating an image gallery in WordPress is easier than ever—whether you use the built-in Gallery block or the more advanced Galleryberg plugin. The default Gallery block is perfect for beginners or anyone who needs a quick, simple gallery without extra features. But if you want modern layouts, lightbox effects, and deeper customization, Galleryberg gives you the creative flexibility the core block can’t provide.

Whichever method you choose, always use high-quality and optimized images to keep your pages fast and visually appealing. Maintaining consistent image sizes and clean spacing will also help your galleries look more professional.

If you have any questions or need help choosing the right method, feel free to ask in the comments below!

Which method do you prefer for creating image galleries in WordPress?

Comments

Leave a Reply

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