Imgix APIsRendering APIBlendingBlend Y Position

Blend Y Position

blend-y

Positions the overlay layer vertically, measured from the top edge of the base image in pixels.

The default value is 0. Note: blend-y is not applicable to color overlays—they apply to the entire image. Use blend-y[N] to style a specific additional blend layer — styles do not inherit across blend layers.

blend-y=0 — the default, against the top edge
https://assets.imgix.net/examples/bluehat.jpg?w=600&h=400&fit=crop&blend=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fclouds.jpg&blend-w=220&blend-h=220&blend-fit=crop&blend-mode=normal&blend-y=0
0

This parameter accepts a relative length: a whole number is pixels, and a decimal between -1 and 1 is a fraction of the base image’s height.

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 blend-y change the output as you type.