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.

  • Unset: Default. Position to the bottom right of the base image.
  • top: Align to the top of the base image.
  • middle: Align to the vertical middle of the base image.
  • bottom: Align to the bottom of the base image.
  • left: Align to the left side of the base image.
  • center: Align to the horizontal center of the base image.
  • right: Align to the right side of the base image.

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