© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
1 reply
RILS

Image Transformation Not Working via Worker

Hello,

I am trying to use image transformation via Cloudflare Image Optimization. I have deployed a worker which is almost identical to the example provided in the docs (https://developers.cloudflare.com/images/transform-images/transform-via-workers/#an-example-worker).

If I hit my worker in a browser tab (eg.
https://image-helper.abcdefg.workers.dev/?width=10&height=10&image=https://images.example.com/example.png
https://image-helper.abcdefg.workers.dev/?width=10&height=10&image=https://images.example.com/example.png
) , the original image is displayed (no transformation is done).

I can also see that the response does not have a
Cf-Resized
Cf-Resized
header.

I know that you can enable Image Transformations on a particular zone but I'm not sure how that applies to using the service via a worker.

Does anyone have any thoughts as to what I may be missing? Is there anything else I can debug?

Thanks in advance.
Cloudflare Docs
Transform via Workers · Cloudflare Image Optimization docs
Using Cloudflare Workers to transform with a custom URL scheme gives you powerful programmatic control over every image request.
Transform via Workers · Cloudflare Image Optimization docs
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

Image Transformation not working
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Image transformation not working
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Help with Image-Transformation Worker
Cloudflare DevelopersCDCloudflare Developers / general-help
12mo ago
Image Transformation Workers not working when firewall only accepts Cloudflare IP range
Cloudflare DevelopersCDCloudflare Developers / general-help
3mo ago