Add support for putting images in s3