Can I use cloudflare image to optimize images stored in s3?

without upload to image endpoint first? or is there any best practice to build a workflow to trigger upload image to cloudflare when upload to s3?
1 Reply
JustinNoel
JustinNoel9mo ago
If you don't want to use the standard cloudflare "Image" product, you could just use the Cloudflare "Image Resizing" product using dynamic urls. So, all of your image sources would point to a subdomain that points to an S3 bucket but have a query parameters for sizes. https://developers.cloudflare.com/images/image-resizing/url-format/
URL format · Cloudflare Image Optimization docs
You can convert and resize images by requesting them via a specially-formatted URL. This way you do not need to write any code, only change HTML …