• Hey there, How you doing?

    I am using Advanced Gallery with lightbox.
    Is there any way possible to add downoad link in that lightbox or outside lightbox.

    TIA.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can try use the html of a file block in the caption of each image. Download button will be shown beneath the image but not inside lightbox unfortunately

    <div class="wp-block-file"><a href="http://localhost/wordpress-kurs/wp-content/uploads/2022/05/image.jpeg" class="wp-block-file__button" download aria-describedby="wp-block-file--media-c75e80ba-7fde-4ff6-8a21-cc6d8d26f441">download</a></div>

    *edit
    By the way, I discovered a general bug (independently from the above shown). If you change the caption of images afterwards (toolbox pen), captions in Advanced Gallery block are not updated.

    • This reply was modified 2 years, 8 months ago by Dozent.IS.
    • This reply was modified 2 years, 8 months ago by Dozent.IS.
    • This reply was modified 2 years, 8 months ago by Dozent.IS.
    hannah

    (@hannahritner)

    Hi Paul,
    There isn’t a built-in option for this. Have you tested @istag solution? That may work for you.

    @istag,
    I’m not able to replicate. Can you start a new thread for this?

    Kindly,
    Hannah

    Thread Starter bgmsquad

    (@bgmsquad)

    Hey there Hannah, I am aware of html method and i also tried @istag method but my problem is i have gallery of some 100 Pictures for each post and manually editing each and every one othem is time consuming. So Is there any solution to auto display download button on all the pictures. TIA.

    hannah

    (@hannahritner)

    Hi Paul,
    Sorry, there isn’t a built-in way to achieve this. You are more than welcome to submit a feature request here: https://www.kadencewp.com/kadence-blocks/feature-requests/

    Kindly,
    Hannah

    Thread Starter bgmsquad

    (@bgmsquad)

    Thanks its already requested.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Advanced Gallery – Lightbox’ is closed to new replies.