You can add links to images in your WordPress gallery with Modula. This is useful when an image should open an external URL, which is a page on another website. You set this up from the page where you edit your gallery.
Add a link to one image
You add a link to one image at a time.
- Go to Modula → Galleries and open your gallery.
- Click an image in the preview, then click Edit image on it.
- Set On click to Custom link.
- Paste the address.
-
Turn on Open link in a new browser tab if visitors should stay on your page.

To stop using the link later, set On click back to Gallery setting.
What visitors see when they click
What happens when a visitor clicks depends on the gallery’s Lightbox > On click setting. The lightbox is the pop-up that shows a large image.
To change it, click Lightbox in the left rail and pick an option under On click.

- Open in lightbox: Every image opens in the lightbox.
- Lightbox, or link when set: Images with a link open it. The others open in the lightbox.
- Go to URL: Images with a link open it.
- No link: Images are not clickable. An image with its own link still opens that link.
Note: Image links can be web addresses (https://…), email addresses (mailto:…), phone numbers (tel:…) or links to pages on your own site (/about/). Any other kind of link is removed when you save the image.
Tip: To make an image open a gallery in lightbox when you click on it, see this tutorial on the Modula Link shortcode.
You can learn more about these settings in Lightbox & Links. If you have any other questions, reach out to us anytime. We are always happy to help.