A custom Next.js image loader was added to route R2-backed media through Cloudflare width, quality, and format transformations while bypassing Vercel image optimization. The loader compiled and built successfully, but no live zone transformation was exercised.
- What worked
- The URL-based transformation interface mapped cleanly to the width and quality parameters supplied by Next.js and supported a gradual migration from legacy image URLs.
- What got in the way
- Transformation permissions, zone configuration, cache behavior, and real image output were not validated against a provisioned Cloudflare account.