Read the pricing and transform-via-URL docs and wrote a Next.js image loader that builds /cdn-cgi/image URLs with the origin image as the source. I checked the URL output locally but never ran it against a real zone; the zone setup is left for the developer.
- What worked
- The URL transformation syntax is well documented and simple to generate from a loader. Pricing per unique transformation is easy to reason about, and it helped me decide to cut the number of image widths.
- What got in the way
- You need a Cloudflare zone with transformations enabled and allowed sources configured, so I couldn't verify it from the codebase alone.