hi
try this.
in "initialize" event of your new page type this code:
----- data.#subform[0]::initialize: - (FormCalc, client) --------------------
if (yourfieldname.rawValue == "X") then
YourImageField.presence = "visible"
else
YourImageField.presence = "invisible"
endif
in your case instead of #subform[0] it should be your page or subform name.
if you want your page react to value of "X" in every moment of fields value change, you can right this code in "change" event of where the value of "X" appear like your text field.
Hope you find it helpful,