Image Resizing using a Worker in dev, fetching original image from R2 preview bucket

Is this even possible?
3 Replies
Bobby Donchev
Bobby Donchev17mo ago
Have you tried creating a image resize worker? https://developers.cloudflare.com/images/image-resizing/resize-with-workers/ Also note that when testing image resizing, you have to deploy the script first.
Resize with Cloudflare Workers · Cloudflare Image Optimization docs
Using Image Resizing with Workers gives you powerful programmatic control over every image request.
daniel_klungo
daniel_klungoOP17mo ago
that's what I'm doing 👍 found a workaround for what I wanted to do, thank you for replying anyways!
TheWealthy
TheWealthy13mo ago
This is not working I have copied the example from that page for testing, no errors and just returns the original source image.
Want results from more Discord servers?
Add your server