setImageResourceOrHide