Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersβ€’3y agoβ€’
4 replies
HueInDaHaus

R2 bound worker + service worker with image resizing does not work

Hello guys! I'm new in the cloudflare space but love learning the systems.

I have an R2 storage which I have to keep private. On top of that I have a worker that is bound to it and serves images stored in a bucket. I have a second worker that is "service" bound to the R2 bound worker that I intend to have to serve optimized versions of the images. See the service bound worker script in the comments.

I can succesfully fetch an image from the .dev endpoint, but the image does not get resized with the width and height parameters. What am I doing wrong?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Worker is not resizing
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Resizing a private image in an R2 bucket through a worker
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
16mo ago
Image Resizing using a Worker in dev, fetching original image from R2 preview bucket
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Does Workers AI support service worker?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago