Image Resizing using a Worker in dev, fetching original image from R2 preview bucket
Is this even possible?
3 Replies
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.
that's what I'm doing 👍
found a workaround for what I wanted to do, thank you for replying anyways!
This is not working I have copied the example from that page for testing, no errors and just returns the original source image.