You can probably guess a fair bit about how this was built by these links

Media Management

The images on the site are served via S3, CloudFront, and a API gateway/lambda setup to adjust images automagically.