Tool to force a target aspect ratio on an Imgix image. Use when a specific W:H frame is needed after choosing fit=crop or fit=fill. Example: 'ar=16:9&fit=crop&w=800' yields a 16:9, 800px-wide URL.
hDesired height in pixels (integer) or as a ratio (0.0-1.0). If omitted and 'w' is set, 'h' is auto-calculated.
wDesired width in pixels (integer) or as a ratio (0.0-1.0). If omitted and 'h' is set, 'w' is auto-calculated.
arRequiredstringTarget aspect ratio in 'W:H' format. Use integers or decimals, e.g., '16:9', '4:3', '1.5:1'.
fitRequiredstringHow the image fits the target ratio. Must be 'crop' or 'fill'.
cropstringWhen 'fit=crop', controls alignment of the crop box. Defaults to center if unset.
fillstringWhen 'fit=fill', determines how excess space is filled. Options: 'solid', 'blur', 'gradient', 'gen'.
pathRequiredstringPath to the image on your Imgix source, e.g., 'images/photo.jpg'. Exclude leading slash.
fill_colorstringColor for solid fill, e.g., '#ff0000' or 'red'. Only used when 'fill=solid'.
source_domainRequiredstringYour Imgix source domain, e.g., 'my-source.imgix.net'. Exclude protocol ('http://' or 'https://').
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.