MOD: return value for uploadImage