You are here

function smartcrop_imagecache_actions in Smart Crop 6

Implementation of hook_imagecache_actions().

File

./smartcrop.module, line 8

Code

function smartcrop_imagecache_actions() {
  $actions = array();
  $actions['smartcrop_scale_and_crop'] = array(
    'name' => 'Scale and Smart Crop',
    'description' => 'Similar to "Scale And Crop", but preserves the portion of the image with the most entropy.',
    'file' => 'smartcrop_actions.inc',
  );
  $actions['smartcrop_crop'] = array(
    'name' => 'Smart Crop',
    'description' => 'Similar to "Crop", but preserves the portion of the image with the most entropy.',
    'file' => 'smartcrop_actions.inc',
  );
  return $actions;
}