Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #366313

    Great theme Kriesi, I have been using your themes for many years now, bravo!

    The masonry gallery is excellent! I am using on a site where we display artwork for download (image download) and would like to add download attribute.

    ie:
    ////////////// Download Attribute

    ImageName

    ///////////////////

    How can I continue to use Masonry Gallery but make changes to html so there is additional link on image to download directly?

    Thanks!

    #366768

    Hi cptnem0!

    Your image is broken but it sounds like your wanting to add the download link inside the magnific popup correct? Please see here, https://kriesi.at/support/topic/social-sharing-on-galleries-enfold-v-3-0-2/, for changing out the magnific popup title to something else.

    You could probably change it to this.

    return '<a href = "'+encodeURIComponent(item.el.find("img").attr("src"))+'">Download</a>';
    

    To link directly to the image.

    Best regards,
    Elliott

    #366826

    Thank you – just what I was looking for.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Masonry Gallery / Add link to download’ is closed to new replies.