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.
1 Reply
Followed tutorial here: https://developers.cloudflare.com/images/transform-images/transform-via-workers/#an-example-worker
Cloudflare Docs
Transform via Workers
Using Cloudflare Workers to transform with a custom URL scheme gives you powerful programmatic control over every image request.