Set this Filelink's transform_url to include the shadow task
Signature
public function shadow([string
$background = 'white',
[integer
$blur = 4,
[integer
$opacity = 60,
[array
$vector = ]]]] )
Parameters
$background
—
string
Sets the background color to display behind the image. This can be the word for a color, or the hex color code, e.g. ('red' or 'FF0000')
$blur
—
integer
Sets the level of blur for the shadow effect. Value range is 0 to 20.
$opacity
—
integer
Sets the opacity level of the shadow effect. Value range is 0 to 100.
$vector
—
array
Sets the vector of the shadow effect. The value must be an array of two integers in a range from -1000 to 1000. These are the X and Y parameters that determine the position of the shadow.