Imgix APIsVideo APIFillFill Image Motion X

Fill Image Motion X

fill-image-motion-x

Sets a precise horizontal focal point for the fill-image-motion effect. For zoom motions, the image pushes toward or pulls from this x coordinate. For pan motions, it anchors the horizontal position when the pan direction is vertical.

fill-image-motion-x accepts a float between 0 and 1, where 0 is the left edge and 1 is the right edge. When set, it overrides the horizontal component of fill-image-motion-align on the x axis only.

This mirrors the concept of fp-x in the Rendering API — a fractional coordinate across the image width.

Use fill-image-motion-y to set the vertical focal point independently.