Hi, the idea for this came from this forum thread by @BernhardBaumrock. It’s a small but imho quite useful addition.
I’ve tried to keep changes to a minimum. It’s virtually entirely a CSS thing because the download button is a simple element, but to make it work nicely I had to make the CSS independent of the label element and I renamed .gridImage__trash to .gridImage__btn to make it more generic. This somewhat opens the door for more such buttons – it actually clutters up the UI surprisingly little:
(Obviously that’s just a dumb mockup. The actual PR only adds the second button, as pictured here.)
Buttons will be in reverse order in “list” view.
I’ve tested it successfully with both stock themes. Hope it’s not too messy. Thanks for your consideration!