This thread was for custom:button-card not the picture element card.
With this thread already solved, I’d suggest opening a new thread. I’ll still take a look, but you’ll it will reach more folks if your inquiry is list correctly.
I got it to work, too. I don’t know why but there seem to be overlapping pictures in my code which cover the clickable picture. I try to find out what’s going on here. When I try it on a different side everything’s works fine. Thank you!
I just changed the order. This makes it more easy for me to handle. Everything’s works fine now. I thought the area of a png file where the picture is empty is not just invisible but also clickable through. This is apparently not possible.