Overview
Sources
Libraries
Images API

Watermark Position Y watermark-y

Specify the vertical y position for watermark image in relation to the source image top border.

This parameter will overwrite the vertical position value defined by watermark-position

Values

This parameter accepts positive and negative integers. With negative values placing watermark outside of the source image boundaries.

If not watermark-y value is defined, the vertical position of the watermark image will be defined by watermark-position parameter.

Examples

Using watermark-y=0 will render the watermark image on the top edge of the source image:

GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-y=0
Woman posing in the nature with imglab logo applied as watermark and watermark y vertical position at 0.
x px

Using a negative value will render the watermark image outside source image boundaries. In this example we are using watermark-y=-30:

GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-y=-30
Woman posing in the nature with imglab logo applied as watermark and watermark y vertical position at -30.
x px

Negative values can be useful if you are adding some padding to the image. For this example we are using watermark-y=-60 and setting a padding of 60 pixels with padding=60:

GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-y=-60&padding=60
Woman posing in the nature with imglab logo applied as watermark and watermark y vertical position at -60 with a padding of 60 pixels.
x px