Static watermark
Statically definbed image overlay
Last updated
Statically definbed image overlay
Last updated
©2024 Scaleflex SAS
This function will watermark selected images with the same watermark - an image set in the Asset Hub. This is useful for placing your company logo, name or other copyright information. If you would like to watermark different images with different watermarks, please refer to the section.
Log in to your DAM and navigate to Settings / DMO -> Images / Watermark and upload your default watermark using the uploader.
use watermark
wat=1
(required) Activates the watermark function
watermark position
wat_gravity=X
X=[north|south][east|west]|center
Defines the position to "anchor" the watermark to
watermark scaling (relative to original watermark size)
wat_scale=X
X=0..100
Watermark image scaling defined in in percent of the watermark dimensions
watermark scaling (relative to output image size)
wat_scale=Xp
X=0..100p
Watermark image scaling defined in in percent of the output image dimensions
watermark padding
wat_pad=X[p][,Y[p]]
X/Y=0..100[p]
Adds padding from the anchoring point in pixels (X) or in percent (Xp)
watermark opacity
wat_opacity=X
X=0..1
Defines watermark opacity
To activate the watermark function, you need to include the wat=1 parameter.
The wat_gravity option sets the position of the watermark (available values are east, northeast, north, northwest, west, southwest, south, southeast, and center/centre) and the wat_pad defines the offset of the watermark from the gravity position.
The padding can be defined in pixels (wat_pad=X[,Y]) or in percent of output size (wat_pad=Xp[,Yp]). The padding is applied after scaling the final image and then it is compressed (see Compression) and delivered via CDN.
The watermark can be scaled relative to the original watermark image (wat_scale=X[,Y]) or relative to the output image (wat_scale=Xp[,Yp]).
To keep the watermark-to-image proportions for all image resizes, you should use the wat_scale=Xp[,Yp].
Watermark scaled down to 45% of its original size (660px), results in 297px watermark: /docs/tesla.jpg?w=1200&wat=1&wat_gravity=southwest&wat_scale=45&wat_pad=15
Watermark scaled relative to the output image dimensions (540px watermark): /docs/tesla.jpg?w=1200&wat=1&wat_gravity=southwest&wat_scale=45p&wat_pad=15