imageGUI: use defines instead of using the value directly