Translate URLs between services
A bridge reads a URL in one service’s format, writes the same request in another service’s format and redirects to it. It renders nothing itself.
One request
# A bridge named to-imgix, reading path style and writing imgix style
GET https://img.imagefoundry.io/~bridge/to-imgix/width/800/photo.jpg
302 Found
Location: https://acme.imgix.net/photo.jpg?w=800What a bridge is made of
| Setting | Values |
|---|---|
| from | The URL format it reads: imageboss, imgix, cloudflare, cloudinary, imagekit, sirv, thumbor or uploadcare. |
| to | The URL format it writes, from the same list. |
| targetDomain | The host it redirects to. |
| redirectCode | 302 while you test, 301 once the move is final. Defaults to 302. |
When it helps
Stored URLs
Image links saved in a database or sent in old emails keep working after a move.
Moving in stages
Redirect one part of your traffic at a time and keep the rest where it is.
Leaving us
The same bridge works in the other direction. Your URLs are never locked in.
Getting a bridge
Bridges are set up per account. Tell us the two formats and the target host.
Related
Try it on one picture.
Free for 1,000 transformations a month. No card needed to start.