An easy way to show and hide an image dynamically is to change its scale. Below you can find an example of how it’s done
To begin of the scene we set the scale of the picture to 0 (to hide it). Then, whenever the panel text is looked at we show the picture, and hide it when it’s not being looked at.
Code in action:
Here a link to test if yourself!
Hope this helped!