Imgix APIsRendering APIWatermarkWatermark Alignment Mode

Watermark Alignment Mode

mark-align

Adjusts the alignment of the watermark image within the base image when the mark parameter is specified.

Valid values are top, middle, bottom, left, center, and right. Multiple values can be used by separating them with a comma. If no value is explicitly set, the default behavior is bottom,right. Use mark-align[N] to style a specific additional watermark layer — styles do not inherit across watermark layers.

  • Unset: Default. Position to the bottom right of the base image.
ValueDescription
topAlign to the top of the base image.
middleAlign to the vertical middle of the base image.
bottomAlign to the bottom of the base image.
leftAlign to the left side of the base image.
centerAlign to the horizontal center of the base image.
rightAlign to the right side of the base image.

Note: There is a default padding of 5px if mark-pad is not set.

The default, bottom,right
https://assets.imgix.net/docs/rendering-api/food-plate.jpg?w=600&h=400&fit=crop&mark=https%3A%2F%2Fassets.imgix.net%2Fpresskit%2Fimgix-presskit2.pdf%3Ffm%3Dpng%26page%3D6&mark-w=180
Default

Try it on your own images

Open the sandbox in your imgix dashboard to build a URL against one of your own sources and watch mark-align change the output as you type.