style the image in html view