Fix display of images from s3 buckets.