Set this Filelink's transform_url to include the collage task
Signature
public function collage(array
$sources,
int
$width,
int
$height,
[array
$store_options = ,
[string
$color = 'white',
[string
$fit = 'auto',
[integer
$margin = 10,
[boolean
$auto_rotate = false]]]]] )
Parameters
$sources
—
array
An array of Filestack file handles or external urls. These are the images that will comprise the other images in the collage. The order in which they appear in the array dictates how the images will be arranged.
$width
—
int
width of result image (1 to 10000)
$height
—
int
height of result image (1 to 10000)
$store_options
—
array
$color
—
string
Border color for the collage. This can be a word or hex value, e.g. ('red' or 'FF0000')
$fit
—
string
auto or crop. Allows you to control how the images in the collage are manipulated so that the final collage image will match the height and width parameters you set more closely. Using crop will produce a result that is closest to the height and width parameters you set.
$margin
—
integer
Sets the size of the border between and around the images. Range is 1 to 100.
$auto_rotate
—
boolean
Setting this parameter to true automatically rotates all the images in the collage according to their exif orientation data.