Cloudimage - Documentation

Aliases

Aliases are a very easy way to hide parts of your URLs: they can be useful if your images come from different image repositories (example: https://static.mycompany.com/bucket/img) and you do not wish these repositories to be publicly shown in your code. If you use only one repository for all your images, you can alternatively use origin URL prefix.

With aliases, you can easily "mount" src0 to static.mycompany.com/bucket/img.

Step 1 - configures aliase in the Cloudimage admin console

Log in to your Cloudimage admin console a navigate to Image settings, scroll down to Aliases. Configure up to 10 aliases:

We strongly recommend to prefix and suffix your aliases with an underscore.

Step 2 - start using your aliases in your Cloudimage URLs

Without Alias

//doc.cloudimg.io/v7/http://sample.li/boat.jpg?width=800

With Aliases

//doc.cloudimg.io/v7/_sample_/boat.jpg?width=800