Cloudimage - Documentation

Accounts created before Nov. 1st, 2021

Accounts created before November 1, 2021 have to include /v7/ in the path, like shown below.

//token.cloudimg.io/v7/original_image_url?operations&filters

Accounts created on or after November 1, 2021 do not require /v7/ and documentation have been updated accordingly.
To verify the type of configuration on your Cloudimage account, log in to your Cloudimage admin panel and look at the syntax provided on the Welcome page.

[NOTE] If you are an existing Cloudimage customer and wish to be able to remove the v7 from your URL syntax, please contact our support.

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:

Photo alt \#responsive

All aliases have to be prefixed and suffixed by underscores. Make sure there are no leading or trailing slashes. Please note that all aliases have to be unique for your account - aliases set in the alias section cannot be used in the storage sections.

Due to the specific way aliases are matched, it is required to use only specific aliases that are not contained in part of other alias strings.

Example:
If you define an alias as _demo_one_ then you should not have:

  • _demo_
  • _demo_one_two_
  • _my_demo_one_

As those would all be matched according to the first overlap (in this example, _**demo_**\). An easy way to overcome this is by using double underscores as both prefix and suffix for aliases.

Step 2 - start using your aliases in your Cloudimage URLs

Without Alias

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

With Aliases

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