The hardest part of changing image service is rarely the new service. It is the URLs you have already published. They are in templates, but also in CMS rich-text fields that editors filled in years ago, in marketing emails that are sitting in inboxes, in partner feeds, in search engine image indexes and in other people's blog posts. Rewriting every one is the job that makes teams put the move off for another year.

URL compatibility removes that job. Turn it on, and the account's edge nodes read imgix, Cloudinary or Thumbor URLs as they are. Moving becomes a hostname change. This article explains what that means in practice, what to check before you switch, and what is deliberately refused.

The idea: translate, then serve

https://acme.imgix.net/photos/a.jpg?w=800&h=600&fit=crop&auto=format
https://img.acme.com/photos/a.jpg?w=800&h=600&fit=crop&auto=format

The second URL is the same image, served here. When a request arrives, the node identifies the account, reads the account's URL dialect, and translates the old URL into this edge's own parameters before anything else reads it. Blocks, presets-only, permitted sizes, the parser and the cache key all see the native form. That has three useful consequences:

  • An old URL and the native URL it means are the same cached rendition, byte for byte. Converting templates to the native form later does not cause a second round of cache misses.
  • The access log keeps the URL as it was written, because that is the one somebody will search for when an image looks wrong.
  • Every account-level rule still applies. Permitted sizes are checked against what the old URL actually asks for, not something it might be mistaken for.

Why it is a setting and not guesswork

It would be convenient if the node could recognise an imgix URL by looking at it. It cannot. imgix uses some of the same parameter names as this edge with different meanings: its fit=fill pads where ours stretches, and its bare ?w=400&h=300 fits inside the box where ours crops. No URL says which service it was written for. So the dialect is chosen on the Limits tab, for the whole account, and a verified custom hostname can override it on the Domains tab.

The per-hostname override is what makes a gradual move possible. Keep the old hostname, now pointed here by CNAME, reading imgix URLs. Add a new hostname set to ZawCloud only for new work. One account can even read two old services at once, one per hostname, if a previous migration was never finished.

What each service's URLs become

imgix

The query string is read the imgix way. fit=clip and fit=max become fit=contain, fit=crop becomes fit=cover, and the edge-anchored crops (crop=top,left and so on) become a focal point. auto=format is f=auto and auto=compress is q=auto. txt becomes a text watermark and mark an image overlay, fetched from your own origin. fm=json returns the same JSON image info the native info=true does. The tracking parameters ixlib and ixid are dropped.

Cloudinary

Transformations are read from the path, with or without the cloud name:

/acme/image/upload/w_800,c_fill,g_auto,f_auto,q_auto/v1712/products/shoe.jpg

The public id after the optional version is the file fetched from your origin. A segment is read as transformations only when every token in it starts with a Cloudinary prefix, so a folder called my_photos stays part of the path. Named transformations (t_card) become presets (preset=card), which you define once in the console with the same name.

Thumbor

The /unsafe/ form, sizes, fit-in, alignment and the common filters are read from the path. smart becomes AI cropping.

What is refused, by name

Anything with no equivalent here returns 400 with the reason dialect_unsupported in the access log, instead of being served without the effect. A URL that asked for sepia and silently got a colour image would be worse than an error, because nobody would notice until a customer did. The refused list includes imgix's colour effects and blend modes, Cloudinary's layers and text overlays, and two parameters that disagree with each other.

The other service's signatures are refused too. imgix s=, Cloudinary's s--…-- and Thumbor's HMAC prefix are keyed with secrets we do not hold. Re-sign those URLs with a key from the console, which adds sig, exp and kid. Unsigned public URLs, which are usually the vast majority, need nothing.

Old URLs that ask for AI work, such as imgix crop=faces, Cloudinary g_auto or e_background_removal, or Thumbor smart, become the matching AI parameter here and spend AI credits once per rendition, just as if you had written ai_crop yourself. See What an AI edit actually costs.

The one thing the move cannot do for you: the originals

This edge fetches; it does not store. Your originals have to be somewhere it can read them.

  • imgix and Thumbor already work this way, so the origin you used there (a web folder or a bucket) becomes the account's origin here.
  • Cloudinary usually holds uploaded originals itself. Export them first, to storage you control, at the same paths as their public ids. A private S3, R2, Google Cloud Storage or Azure bucket works, with no proxy in front. See Serving images from a private bucket.

Full-URL forms (Cloudinary fetch, Thumbor image URLs, imgix mark) are accepted only when the address is under the account's own origin. Anything else is refused, because quietly dropping the host would fetch a different file.

A migration plan that does not need a cutover night

  1. Point the origin. Set the account's origin to where the originals live, or add a private bucket.
  2. Choose the dialect on the Limits tab, and recreate any named transformations as presets with the same names.
  3. Test with real URLs. Take a sample from your access logs or templates, swap only the hostname to your platform hostname (https://a3f9c21b.zwcld.net), and compare the results side by side. Anything refused shows up as a 400 with its reason, rather than a subtly different picture.
  4. Add the custom domain. If your old service served from your own hostname, register it on the Domains tab. If it served from the vendor's hostname, you will need one template change to your own domain at some point, and this is the moment to make it.
  5. Move DNS. Change the CNAME to the target the Domains tab shows. Traffic moves as resolvers expire the old record, with both services serving the same URLs in the meantime.
  6. Convert templates at your own pace, or not at all. The old form keeps working, and it shares cache entries with the native one.

The public site has a step-by-step guide for each service at /migrate/imgix, /migrate/cloudinary and /migrate/thumbor, with full mapping tables. For the broader approach of running two services in parallel, read Moving image CDNs without a cutover.