Imgix APIsRendering APIWatermarkWatermark if Minimum Height

Watermark if Minimum Height

mark-if-min-height

Conditional watermarking based on the minimum height of the rendered base image. If the height of the rendered base image is greater than or equal to the specified height, the watermark will be applied. If the height of the rendered base image is less than the specified height, the watermark will not be applied. The bare gate applies to every watermark layer by default; override it for a specific layer with mark-if-min-height[N].

h=200 — below the gate, so no watermark is drawn
https://assets.imgix.net/docs/rendering-api/food-plate.jpg?fit=crop&mark=https%3A%2F%2Fassets.imgix.net%2Fpresskit%2Fimgix-presskit2.pdf%3Ffm%3Dpng%26page%3D6&mark-scale=40&mark-align=top,right&mark-if-min-height=300&w=300&h=200
300x200

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-if-min-height change the output as you type.