Set image to a preloaded media object on condition



I might be missing something obvious, but I would like to set one image picture to a preloaded media asset on a condition. Can set it with a remote file, but even if I try to use file:// with the filename it does not show up.

If Number > 5 set picture to the green checkmark. Else set to the red checkmark. The image is hidden until the calculation is complete.

Am I missing something?


use only the filename, for example myImage.jpg