fix display of images