Serve images from your own domain
Put images on a hostname you own, so the URLs stay the same whichever service renders them. Each domain points at one source. Custom domains are on Hobby and above.
Three ways to address a source
| Style | URL |
|---|---|
| Path style | https://img.imagefoundry.io/acme/width/800/shoe.jpg |
| Subdomain | https://acme.imagefoundry.io/shoe.jpg?w=800 |
| Your domain | https://images.acme.com/shoe.jpg?w=800 |
Set it up
Add the domain
In the dashboard, add images.acme.com and pick the source it serves.
Add a CNAME
Point images.acme.com at proxy.imagefoundry.io. If you cannot change the CNAME yet, a TXT record at _imgfoundry-challenge.images.acme.com proves ownership instead.
Verify
Press verify. Once the record is found, the certificate is issued and the domain goes live.
The DNS records
; Required
images.acme.com. CNAME proxy.imagefoundry.io.
; Alternative proof of ownership, value shown in the dashboard
_imgfoundry-challenge.images.acme.com. TXT "<token>"Why bother
URLs that outlive vendors
Change who renders your images without touching a single link.
One domain in your CSP
Images load from a host you already allow.
Signed URLs still apply
A source with a secret checks tokens on every hostname it is served from.
Related
Try it on one picture.
Free for 1,000 transformations a month. No card needed to start.