How to display images instead of sensor values (1 & 0)

I searched the forum but could find some sample code.
I can read a sensor and either display either what it returns (1 or 0) or some equivalent text (offline / online)

I am looking for it get this working but with images. I seem to recall Stuart H mentioning that this is possible but couldn't find out how to implement.

Any help would be appreciated


I may have stumbled on the answer

It looks like I just need to upload the image and then reference the image in the custom sensor - name field

Is this correct ?


Hi Frank

Essentially, you are on the right lines.

Michal's answer is accurate.!topic/openremotecommunity/MDiOnay0Yag

Likewise, this how to should give more detail..