resized photos from index.html