Adding links in gallery titles

2 replies·opened May 27, 2020
P
pguyardMay 27, 2020

Hello!
Have a masonry layout like this:

<div class="col_full clearfix">
    <div class="masonry-thumbs grid-5" data-lightbox="gallery" id="gallery">
        <a href="[image url]" 
            data-lightbox="gallery-item" 
            title="[image caption]" 
            <img 
            class="img-fade"
            alt="[image caption]" 
            src="[image url]">
         </a>
         [... repeat other <a> items]                            
     </div>
</div>

I would like the image title do be a link when the image is displayed. I have done this with setting title="[Image title]", and this works when the image is displayed, however back on the masonry the image tooltip displays the html, not just the title, like this:

attachment

Is there a way round this?

Thanks

P
pguyardMay 27, 2020

I cannot edit my post but
title=”[Image title]“
title= .... etc (a hyperlink)

S
SemiColonWebSTAFFMay 28, 2020

Hello,

Unfortunately, this feature is currently not available within the Default Templates. We will surely consider adding this in Our Future Updates and will send you a Notification once this is available.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard