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.

Dynamic Watermark

The dynamic watermark filter allows to specify the watermark image in the Cloudimage URL. This way, different watermarks can be used with different images.

Example

/sample.li/voyage-louis-vuitton.jpg?w=600&wat=1&wat_url=http://sample.li/louis-vuitton-logo-white.png&wat_scale=45&wat_gravity=southwest&wat_pad=15

Available options

option syntax
use watermark wat=1
required
watermark image wat_url=X
can be url-encoded
watermark position wat_gravity=X
X = [north-south][east-west]
watermark scaling
(relative to original watermark size)
wat_scale=X
X = 1..100 - in percent
watermark scaling
(relative to final image size)
wat_scale=Xp
X = 1p..100p - in percent
watermark padding wat_pad=X[p][,Y[p]]
X,Y - in pixels
Xp, Yp - in percent
watermark opacity wat_opacity=X
X = 0..1