© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•10mo ago•
1 reply
tobycm

Image Transformation doesn't work directly on R2 presigned links

This is my Worker's code: https://github.com/tobycm/filebox/blob/main/thumbnail-worker/src/index.ts

When the request succeeded, the end user accessing the workers with the valid url will get serve an image, preferably transformed to serve as a thumbnail.

However, I can only receive the full file pre-transformed. Please let me know if you need more info!
GitHub
filebox/thumbnail-worker/src/index.ts at main · tobycm/filebox
Contribute to tobycm/filebox development by creating an account on GitHub.
filebox/thumbnail-worker/src/index.ts at main · tobycm/filebox
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

R2 Bucket File multichunk upload doesn't work.
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
7mo ago
Using `R2 + image transformation API` vs the `Images` service
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
R2 Presigned URL : No upload limit ???!!!
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
12mo ago
Knex doesn't work on Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
14mo ago