Small improvements in show image method