BLACK FRIDAY SALE 40% OFF on new purchases, early renewals, or upgrades. Click here to apply Discount
How to add links to images in your galleries
Sometimes, you’ll want to link images in your gallery to external URLs. With Modula, setting that up from your gallery creation page is easy.
Typically, the steps to hyperlink an image from a gallery are the following:
First, head to the gallery edit/creation page for the gallery in question. Then select the edit icon on any of the images that you wish to add an external link to (highlighted below):
This will open up the popup shown below, into which you can easily paste your desired URL in the highlighted area. Optionally, you can also choose to have images open in a new window/tab.
However, depending on the settings of your gallery, the frontend outcome can be different. Therefore, keep in mind the following options under the Lightbox & Links tab in the settings section:
No link: the images won’t be hyperlinked, even if they have a link attached.
Direct link to image: all images from a gallery with a link attached will open the link when clicked. Images with no links attached will open the direct link of the image.
Attachment page: all images from a gallery with a link attached will open the link when clicked. Images with no links attached will open attachment pages for those images.
Open images in a lightbox: all images from a gallery with a link attached will open the link when clicked. Images with no links attached will open in a lightbox. For the link to work, you need Modula PRO; otherwise, if you click on an image, the image will open up without redirecting you to the link.
If you’re looking for a way to make an image open a gallery in lightbox when you click on it, check this tutorial on how to do it using Modula Link Shortcode.
If you have any other questions, feel free to reach out to us anytime – we’re always happy to help! 😁
Was this article helpful?
About The Author
Mihaela has a strong affinity for literature - from the classical to the contemporary, she finds great solace in the written word. She is a dog enthusiast and has a particular fondness for spending time with her furry friends.