add show image method