#r2 image scaling like with Cf images
17 messages · Page 1 of 1 (latest)
https://blog.cloudflare.com/merging-images-and-image-resizing maybe you want image resizing?
I already found a way for it now. Thanks
Hey @slow summit Could you give me a quick run down on how you managed this? I want to resize r2 images
Sure
Managed to get it working now 🙂 thanks though!
alright
hey, I'm looking into this same thing. Can you share how to go about this?
First of all, you need to setup workers which would receive a request.
And use the request to get the required path of file
now you can get that path and get the item from r2 bucket. You can use cf images to resize the image, and even store it in r2, for future use
You can then return the image
I might as well build a open source repo with instructions
WithIn 2-3 days, you can let me know if you need a reminder when I’m done
Hey, just wondering if you built the open source repo. Planning to do something similar so would be helpful
Tbh I forgot to build. I’ll surely start building today
@blissful osprey won't be able to do it now
However, these are the instructions