Test image transformations - Dynamic Image Transformation for Amazon CloudFront

Test image transformations

Test your configuration using the CloudFront distribution created by the solution.

  1. Get the CloudFront distribution URL from the CloudFormation stack outputs (CloudFrontDistributionDomainName).

  2. Access images using the pattern defined in your mappings:

    https://<cloudfront-domain>/<mapping-pattern>/<image-path>
  3. Example:

    https://d1234567890.cloudfront.net/mobile/sample-image.jpg
  4. The image will be processed according to the transformation policy associated with the matching mapping.