resized image on index.html