modify the display of image