Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #344705

    I am using the gallery shortcode to display various images and sizes – is there a way to make it open in lightbox the actual size of the image? or is there I can add a download button so when someone clicks on the thumbnail they can download the actual higher resolution image?

    #344892

    Hi ojasray!

    The image will be scaled to fit your screen when you open it up. I think if you have it open in it’s original dimensions then it would be hard for the user to scroll between them or close the image. We can add a download link though.

    Open up /enfold/js/avia.js and find line 847,

    return title;

    And change it to this,

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

    Just make sure to set the thumb size to “No scaling”.

    Best regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.