Turn your gallery images into clickable links.

Gallery Custom Links lets you assign custom URLs to any image in your galleries. Instead of opening in a lightbox, images link directly to products, posts, or external sites. Simple fields in the Media Library — no shortcodes required.

30,000+ active installs
4.7 average rating
208 reviews

Add custom URLs to images — clicking opens your link instead of a lightbox.

Target and Rel Controls

Open links in new tabs, add nofollow, or set custom aria labels.

Compatible with WordPress Gallery, Gutenberg, Meow Gallery, and more.

Multiple Parsing Engines

Choose HtmlDomParser, DiDom, or JavaScript for best performance.

Links pointing to the current page can be ignored automatically.

Light as a Feather

No settings maze. Set a URL on an image, and it just works.

A gallery image normally opens a lightbox, or itself. Gallery Custom Links adds the third option: click the image, go exactly where you choose. Perfect for lookbooks, portfolios and partner logos.

  • A link on any imageSet a Link URL, Target, Rel and Aria Label in the Media Library. Every gallery using that image follows, with nothing to edit.
  • Three ways to apply itHtmlDomParser (most reliable), DiDom (faster) or JavaScript (lightest, in the browser).
  • Works with your galleriesThe WordPress and Gutenberg galleries, Meow Gallery, and most gallery plugins.
  • Only where neededFilters keep it to the pages that need it, so it does no work anywhere else.

Free Version

  • Set a Link URL on any image in the Media Library, and every gallery that uses it links there instead of opening a lightbox.

  • Target, Rel and Aria Label

    Open in a new tab, add nofollow or sponsored, and set an accessible label, per image.

  • Native WordPress Gallery, Gutenberg, Meow Gallery, and anything using the standard gallery markup.

  • Three Parsing Engines

    HtmlDomParser for reliability, DiDom for speed, or JavaScript when you would rather not rewrite the HTML.

  • Optionally ignore a link when its target is the page the visitor is already on.

Pro Version

  • Everything from the Free Version

  • A Link column in the Media Library shows which images already have one, so you can review and edit them in place.

  • Filter by Linked Images

    Narrow the library to just the images carrying a custom link, instead of opening them one by one.

  • Priority Support

    Direct access to the development team.

  • Get Pro, from $9/year

Reviews from WordPress

Written by @cafelog on WordPress Forums

Been using it for years

I have been using it for several years on a couple of websites and it does everything it promises. I have never had a problem with it.