Lovelace - Dynamic picture & Picture size

Just a basic question! I am using HA to keep track of a water tank level. So, I added a Picture Elements Card to user interface with the water level information on it. The picture shows a full water tank. I have other pictures showing water tanks in different levels.

Question 1: Is there a way to change the picture according to the level?

Question 2: Is there a way to choose the image size in lovelace? It is so big!

You could use the custom Bar Card instead, no hassle with the different pictures.

1 Like