Show image on dashboard

I am using json datasource to capture the value of a variable from thingspeak.
Is it possible to depict an image on dashboard depending on the value of the variable?
e.g if value is 1 show img1, if value is 0 show img2 etc