Loads all the effects for an image style.
array $style: An image style array containing:
array An array of image effects associated with specified image style in the format array('isid' => array()), or an empty array if the specified style has no effects.
function image_style_effects($style) {
$effects = image_effects();
$style_effects = array();
foreach ($effects as $effect) {
if ($style['isid'] == $effect['isid']) {
$style_effects[$effect['ieid']] = $effect;
}
}
return $style_effects;
}