Add support for S3 image hosting