Cloudimage - Documentation

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

/v7/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

optionsyntax
use watermarkwat=1
required
watermark imagewat_url=X
can be url-encoded
watermark positionwat_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 paddingwat_pad=X[p][,Y[p]]
X,Y - in pixels
Xp, Yp - in percent
watermark opacitywat_opacity=X
X = 0..1