resized images on index so they could scale properly