Loads a single image effect.
$ieid: The image effect ID.
$style_name: The image style name.
$include: If set, this loader will restrict to a specific type of image style, may be one of the defined Image style storage constants.
An image effect array, consisting of the following keys:
Besides these keys, the entirety of the image definition is merged into the image effect array. Returns FALSE if the specified effect cannot be found.
image_effect_definition_load()
function image_effect_load($ieid, $style_name, $include = NULL) {
if (($style = image_style_load($style_name, NULL, $include)) && isset($style['effects'][$ieid])) {
return $style['effects'][$ieid];
}
return FALSE;
}