Static watermark
This filter will watermark all your images with the same watermark. 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 dynamic watermark section.
Step 1 - upload your default watermark in the Filerobot admin console
Log in to your Filerobot admin console a navigate to Settings / Process -> Images / Watermark.
Upload your default watermark using the uploader.
Step 2 - start watermarking!
use watermark | wat=1 require |
---|---|
watermark position | wat_gravity=X X = [north-south][east-west] |
watermark scaling (relative to original watermark size) | wat_scale=X X = 0..100 - in percent |
watermark scaling (relative to output image size) | wat_scale=Xp X = 0p..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 |
Watermark position
The wat_gravity option sets the position of the watermark (available values are east, northeast, north, northwest, west, southwest, south, southeast, and centre/center) 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.
Northeast, padding: x=10, y=8
/docs/earth1.jpg?w=250& h=156&wat=1&wat_scale=35&wat_gravity=northwest&wat_pad=10,8
Original watermark
http://sample.li/Filerobot_Logo_White.png
Here, the watermark image is 660 px wide.
Watermarked scaled relative to the watermark image
/docs/tesla.jpg?w=1200&wat=1&wat_gravity=southwest&wat_scale=45&wat_pad=15
The watermark is scaled down to 45% of its original width (297 px). Then, the final image is scaled down to 1200-px width.
Smaller image
/docs/tesla.jpg?w=250&wat=1&wat_gravity=southwest&wat_scale=40&wat_pad=8
The same image as the one on the left but with a different final size.
Note that the watermark is scaled down with the image but the padding is the same.
Original watermark
http://sample.li/Filerobot_Logo_White.png
Here, the watermark image is 660 px wide.
Watermark scaled relative to the output image
/docs/tesla.jpg?w=1200&wat=1&wat_gravity=southwest&wat_scale=45p&wat_pad=15
The watermark is resized to exactly 45% of the output image size.