Upload and download image from s3