fixed show image method