How to Add Links to Images in WordPress Gallery Block

If you're using the Gutenberg gallery block and want the gallery to open up a new tab or link. I'll show you how to do just that.

Spread the love


If you’re using the Gutenberg gallery block and want the gallery to open up a new tab or link. You’re out of luck because, well, you can’t (by default).

You can do that very easily with regular image blocks. But how do you do that with the gallery? This is something that I was having a lot of trouble with, but I needed it, So I found a workaround, and this is how I did it.

How to add an external link to individual WordPress gallery block

Here’s how you can add individual links to WordPress gallery images.

  1. Download the gallery custom links plugin

    How to add a link to an image in a wordpress gallery block using gutenberg editor.

    I found this plugin called Gallery Custom Links, and it’s supposed to be able to do exactly what I’m looking to do, which is to open the gallery in a new tab and go to a new page. So downloaded.

  2. Upload the plugin to WordPress

    How to add a link to an image in a wordpress gallery block using gutenberg editor.

    Let’s go to plugins, and add a new plugin. After uploading, you don’t have to do anything with this because the plugin works right out of the box.

  3. Add links to images

    How to add a link to an image in a wordpress gallery block using gutenberg.

    We also need to go to the media library and add links to the images that you want to open. Go to the image and scroll down, and here you’ll see this link URL.

So, that is how you add custom links to specific images in your gallery blocks on WordPress Gutenberg.

Are you a visual learner? Check out my video below, titled “How to Add a Link to An Image in A WordPress Gallery Block Using Gutenberg Editor?” from my YouTube channel, as I show you all this firsthand.

A video titled “How to Add a Link to An Image in A WordPress Gallery Block Using Gutenberg Editor?” from my YouTube channel.

Frequently asked questions (FAQ)

Do you still have questions? Below are some of the most commonly asked questions about making a WordPress website.

How to add a link to an image in a wordpress gallery block using gutenberg editor thumbnail.
How to add a link to an image in a wordpress gallery block using gutenberg editor thumbnail.

What is WordPress?

WordPress is a content management system (CMS) that allows users to easily create and manage websites. It is open-source software, which means that it is free to use and modify.

Is WordPress free to use?

Yes, WordPress is free to use. There are no costs associated with downloading or installing WordPress. However, you may need to purchase a domain name and hosting plan to use WordPress to create a website.

What are the requirements for using WordPress?

To use WordPress, you will need a domain name and a hosting plan. You will also need to have a web server that meets the minimum requirements for WordPress, which includes a PHP version of 7.4 or higher and a MySQL version of 5.6 or higher.

Can I use WordPress to create any type of website?

Yes, WordPress can be used to create any type of website, including personal blogs, business websites, e-commerce stores, and more. There are also many themes and plugins available for WordPress that can be used to customize the look and functionality of your website.

Conclusion

So, what do you think? Let me know in the comments below (I read and reply to every comment). If you found this article helpful, check out my full blog and be sure to subscribe to my YouTube channel. Thanks for reading!

Leave a Comment

Frequently asked questions (FAQ)

LiaisonLabs is your local partner for SEO & digital marketing services in Mount Vernon, Washington. Here are some answers to the most frequently asked questions about our SEO services.

SEO (Search Engine Optimization) is the process of improving your website's visibility in search engines like Google. When potential customers in Mount Vernon or Skagit County search for your products or services, SEO helps your business appear at the top of search results. This drives more qualified traffic to your website—people who are actively looking for what you offer. For local businesses, effective SEO means more phone calls, more foot traffic, and more revenue without paying for every click like traditional advertising.

A local SEO partner understands the unique market dynamics of Skagit Valley and the Pacific Northwest. We know the seasonal patterns that affect local businesses, from tulip festival tourism to agricultural cycles. Local expertise means we understand which keywords your neighbors are searching, which directories matter for your industry, and how to position your business against local competitors. Plus, we're available for in-person meetings and truly invested in the success of our Mount Vernon business community.

SEO is a long-term investment, and most businesses begin seeing meaningful results within 3 to 6 months. Some quick wins—like optimizing your Google Business Profile or fixing technical issues—can show improvements within weeks. However, building sustainable rankings that drive consistent traffic takes time. The good news? Unlike paid advertising that stops the moment you stop paying, SEO results compound over time. The work we do today continues delivering value for months and years to come.

SEO pricing varies based on your goals, competition, and current website health. Local SEO packages for small businesses typically range from $500 to $2,500 per month, while more comprehensive campaigns for competitive industries may require a larger investment. We offer customized proposals based on a thorough audit of your website and competitive landscape. During your free consultation, we'll discuss your budget and create a strategy that delivers measurable ROI—because effective SEO should pay for itself through increased revenue.

Both aim to improve search visibility, but the focus differs significantly. Local SEO targets customers in a specific geographic area—like Mount Vernon, Burlington, Anacortes, or greater Skagit County. It emphasizes Google Business Profile optimization, local citations, reviews, and location-based keywords. Traditional SEO focuses on broader, often national rankings and prioritizes content marketing, backlink building, and technical optimization. Most Mount Vernon businesses benefit from a local-first strategy, though many of our clients combine both approaches to capture customers at every stage of their search journey.

Absolutely! SEO and paid advertising work best as complementary strategies. Google Ads deliver immediate visibility and are great for testing keywords and driving quick traffic. SEO builds sustainable, long-term visibility that doesn't require ongoing ad spend. Together, they create a powerful combination—ads capture immediate demand while SEO builds your organic presence over time. Many of our Mount Vernon clients find that strong SEO actually improves their ad performance by increasing Quality Scores and reducing cost-per-click, ultimately lowering their total marketing costs while increasing results.