The problem is that an on show action at the page level only happens when the page is first displayed. You're modifying the variable afterward.Try this instead (only works in Lectora 2005 or higher): In the radio button properties, set the on select/change action to show your image.