Hi everyone, first time looking into this flow. Let's imagine that a website has an option to upload

Hi everyone, first time looking into this flow. Let's imagine that a website has an option to upload an image. Let's say that image goes into Cloudflare R2 or some other cloud storage.

Is there a way to automatically trigger some event to transform this original image into multiple ones, with different sizes? Let's say 100x100, 200x200, etc? Without a proper backend running, but allowing us to pre-processing it?

I was thinking in something like a Cloudflare worker as a service, which triggers somehow on a new image upload and generate new ones, with some lib and finally uploading them into R2 again.

Am I in a fog or is this something doable and okayish? I'd need a free plan to test this, so alternatives like Cloudflare Images aren't really an option right now, afaik. Thank you πŸ™ 🀲
Was this page helpful?