Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-examples-images-custom-domain-with-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textAn 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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