
Images can immediately enhance a blog post or page. With WordPress you can create an image gallery using the built‑in Gallery block or a specialized block from a plugin like Galleryberg.
This tutorial shows you both methods: how to build a simple gallery with the default block and how to use the Galleryberg block for more sophisticated layouts and interactions.
Creating a Gallery With the Default WordPress Block
WordPress includes a Gallery block in the block editor that lets you insert multiple images and arrange them in a grid. You don’t need any extra plugins for a basic gallery. Below are the steps.
Step 1: Insert the Gallery Block
From your dashboard, click on the add block button and search for the ‘Gallery’ block.

Step 2: Upload or Select Images
Now, click on the upload button and upload your images. You can also choose images from the media library.

Upon clicking on the open button, images will be inserted in the gallery.

Step 3: Customize the Gallery
To customize the gallery, click on the gallery and then hit the settings button.

From here, you will be able to customize the number of columns, resolution, css and other settings.
If you would like to customize the style of the gallery, then hit the ‘Style’ tab.

From here, you will be able to customize background option. When you are done, don’t forget to hit the Publish/Update button.
Tips for creating a captivating Image Gallery:
- Make sure the images you use are of high quality. This will provide viewers with an optimal viewing experience.
- Consider the placement of your gallery, which will best complement your content and engage your visitors.
- Ensure that your gallery functions and displays well on all devices, especially on mobile phones.
Building an Interactive Gallery With the Galleryberg Block
While the core Gallery block works for simple layouts, you may want more control over the design and interactivity of your galleries. Galleryberg is a Gutenberg block plugin that adds several advanced layouts, hover effects and a lightbox. Once the plugin is installed and activated, follow these steps to create your first Galleryberg gallery.
Step 1: Open the WordPress Editor
Create a new post or page or open an existing one where you want the gallery.
Step 2: Insert the Galleryberg Block
- Click the “+” button in the block editor.
- In the search bar, type “Galleryberg.” Click the Galleryberg block to insert it.
Step 3: Add Images
- After inserting the block, choose images from the Media Library or upload new ones.
- Your selected images will appear in the Galleryberg block as soon as you click Select.
Step 4: Choose a Gallery Layout
Galleryberg offers several layout styles beyond the standard grid:
- Tiles Layout – a balanced grid suitable for general photo sections.
- Masonry Layout – similar to Pinterest; ideal for portfolios and long visual stories.
- Justified Layout – creates even rows reminiscent of magazine layouts.
- Square Layout – uniform squares perfect for product galleries and thumbnails.
- Mosaic Layout – a dynamic, irregular grid that highlights storytelling.
Select a layout from the Galleryberg settings pane to match the look you want.
Step 5 – Enable the Lightbox (Optional)
Galleryberg includes a built‑in lightbox that lets visitors click images to view them in a popup slideshow. To enable it, toggle Enable Lightbox in the block’s sidebar. The lightbox supports keyboard navigation, mobile swipe gestures, and smooth slide transitions.
Step 6 – Publish Your Gallery
Preview your page to ensure the gallery looks the way you want, then click Publish or Update.
Why Use Galleryberg?
Galleryberg goes beyond the basic WordPress gallery with interactive features:
- Multiple layouts encourage exploration and suit different types of content.
- Hover effects like zoom‑in/out animations and overlay captions make images feel alive.
- Customizable captions can appear below the image, as an overlay bar, or only on hover.
- Responsive and touch‑friendly design ensures swipe navigation and pinch‑to‑zoom work smoothly on mobile.
- Lightweight scripts keep the gallery fast‑loading so your page isn’t slowed down.
These enhancements provide a more engaging experience than the core gallery, making Galleryberg a good choice when you need polished, interactive galleries without heavy page builders or shortcodes
Last Words
By following the method above, you will easily insert a gallery and transform your website into a visual feast. So, unleash your inner curator and get ready to showcase your best visuals.
If you liked the post, please share it with your friends and leave your thoughts in the comment box below.
Related Posts:
- How to Create a Tabbed Image Gallery in WordPress
- How to Create a Video Gallery in WordPress (Easy Method)



























Leave a Reply