u/puckpuckgo

Cloudflare image hosting & transformation question

I'm building a project that has users uploading images and want to use Cloudflare infrastructure for this. The pricing on it is good. However, I can't quite figure out this pipeline.

Cloudflare Images + Transformations seems to be an account-level situation. Media gets all mixed up in one gigant bucket from all of the projects in my account that are leveraging this. Keys are also at an acount level. If I have media coming in from two different projects, I have no way of knowing which ones belong to which project.

The second option I presume is leveraging R2 and putting something in front to transform incoming images. Does Cloudflare offer image transformation for R2 buckets? I can't find anything. I could sure use the free egress, but I don't want to serve up a 3 MB image for a 200x200 profile picture.

Any other options that are cheap and do what CF does? (ie. transform, store, edge caching, free egress)

reddit.com
u/puckpuckgo — 5 hours ago