You are here

function iek_image_overlay in Image effect kit 7

Invoke the image toolkit so user can choose to use GD or ImageMagick.

1 call to iek_image_overlay()
iek_image_overlay_effect in ./iek.module
Effect callback for iek_image_overlay.
1 string reference to 'iek_image_overlay'
iek_image_default_styles in ./iek.module
Implements hook_image_default_styles().

File

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

Code

function iek_image_overlay(stdClass $image, $data) {
  $data['overlay_name'] = (string) $data['overlay_name'];
  $data['overlay_offset'] = $data['overlay_offset'];
  $data['bg_offset'] = $data['bg_offset'];
  return iek_toolkit_invoke('overlay', $image, array(
    $data,
  ));
}