cloudflare · Cloudflare Workers Docs
Workers Custom Domain with Images
Instructions for serving Cloudflare Images through a custom domain using either a Cloudflare Worker or the cdn-cgi/imagedelivery prefix path.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Custom Domain with Images
Instructions for serving Cloudflare Images through a custom domain using either a Cloudflare Worker or the cdn-cgi/imagedelivery prefix path.
When To Use
Use when you need to map a custom domain to your Cloudflare Images assets or implement a prefix-based image delivery proxy.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-examples-images-custom-domain-with-workflow-guide.md | A guide explaining how to configure a custom domain to serve Cloudflare Images via a Worker or a prefix path. | Questions about a guide explaining how to configure a custom domain to serve Cloudflare Images via a Worker or a prefix path. |
examples/workers-examples-images-custom-domain-with-cloudflare-workers-images-cus.text | A JavaScript worker script that fetches and serves Cloudflare Images via a custom domain using an account hash and URL path parsing. | Exact payloads, commands, or snippets shown in A JavaScript worker script that fetches and serves Cloudflare Images via a custom domain using an account hash and UR... |
examples/workers-examples-images-custom-domain-with-cloudflare-workers-images-cus-2.text | A JavaScript worker script that fetches and serves Cloudflare Images via a custom domain using an account hash. | Exact payloads, commands, or snippets shown in A JavaScript worker script that fetches and serves Cloudflare Images via a custom domain using an account hash. |
examples/workers-examples-images-custom-domain-with-cloudflare-workers-hono-image.text | A Hono-based Cloudflare Worker script that serves images via a custom domain using an account hash binding. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker script that serves images via a custom domain using an account hash binding. |
examples/workers-examples-images-custom-domain-with-cloudflare-workers-images-cus-3.text | A Python implementation of a Cloudflare Worker that serves images through a custom domain using the WorkerEntrypoint class. | Exact payloads, commands, or snippets shown in A Python implementation of a Cloudflare Worker that serves images through a custom domain using the WorkerEntrypoint... |
examples/workers-examples-images-custom-domain-with-cloudflare-workers-images-cus-4.text | An example URL structure demonstrating how to access Cloudflare Images via a Workers custom domain. | Exact payloads, commands, or snippets shown in An example URL structure demonstrating how to access Cloudflare Images via a Workers custom domain. |
What This Skill Covers
- Set up custom domain for Images using a Worker or serve images using a prefix path and Cloudflare registered domain.
- Main sections:
Tags.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/examples/images-workers
