Attempting to integrate S3 cloud storage for images