You are here

function imagecache_customactions_dimensions in ImageCache Actions 7

Same name and namespace in other branches
  1. 8 customactions/imagecache_customactions.module \imagecache_customactions_dimensions()

Image dimensions callback for the custom action effect.

Parameters

array $dimensions: Dimensions to be modified - an associative array containing the items 'width' and 'height' (in pixels). param array $data An associative array containing the effect data.

1 string reference to 'imagecache_customactions_dimensions'
imagecache_customactions_image_effect_info in customactions/imagecache_customactions.module
Implements hook_image_effect_info().

File

customactions/imagecache_customactions.module, line 198
Allows advanced users to code their own PHP image manipulation routines as part of image style processing.

Code

function imagecache_customactions_dimensions(array &$dimensions) {
  $dimensions['width'] = NULL;
  $dimensions['height'] = NULL;
}