This is probably a very basic question but I’ve not been able to find any answers. I have a custom:button-card setup on my dashboard that I want to show an background image on. The url refers back to a Reolink RLC-410 still image as below:
Thanks for your response. I tried escaping the ‘?’ using URL encoding but it still didn’t work. I think it must be a limitation of the button-card custom element as I was able to make it work by using the entity-picture option and some custom styling.
Still a learning experience as I now know more about URL encoding than I did before!
I was lucky as because I specified an image URL for the camera entity I didn’t even need to use the url in the end (although that didn’t stop me trying for a long time before I realised this!).
This is the code I used to give the button-card a background of the CCTV taken each time it is reloaded (once every minute):