Lightroom on Image Element

Hi,

I am just after wondering if it’s possible to have a a simple lightroom popup from clicking an image element on my site.

Currently an image is just static, but I would like it to open up larger when a user clicks the image, without having to create a gallery for each image using a plugin.

This is for various examples of work that is going to be displayed down the page, and so it isn’t just one location (where a gallery might be applicable) this will just be one image.

Thanks, Tom.

Hi Tom,

Thank you for reaching out to us. Yes you can do this with image element in cornerstone. First add an image element and turn on the Link option:

Then in URL field input the URL of the image you want to show in lightbox:

Now give a class to your image element e.g lightbox-image

Finally add a Text or Classic Raw Content element with the Lightbox shortcode:

[lightbox selector=".lightbox-image"]

To learn more about Lightbox shortcode please see https://theme.co/apex/forum/t/shortcodes-lightbox/165 and http://demo.theme.co/integrity-1/shortcodes/responsive-lightbox/#gallery-image/0

Hope this helps!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.