You are here

function iek_image_overlay_effect in Image effect kit 7

Effect callback for iek_image_overlay.

1 string reference to 'iek_image_overlay_effect'
iek_image_effect_info in ./iek.module
Implements hook_image_effect_info().

File

./iek.module, line 966
Primarily Drupal hooks and global API functions to manipulate image styles.

Code

function iek_image_overlay_effect(&$image, $data) {
  if (!iek_image_overlay($image, $data)) {
    watchdog('image', 'Image overlay failed using the %toolkit toolkit on %path (%mimetype)', array(
      '%toolkit' => $image->toolkit,
      '%path' => $image->source,
      '%mimetype' => $image->info['mime_type'],
    ), WATCHDOG_ERROR);
    return FALSE;
  }
  return TRUE;
}