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.
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
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.
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
Thanks its already requested.