You are here

function smartcrop_scale_and_crop_image in Smart Crop 6

Crop the image.

File

./smartcrop_actions.inc, line 27
Imagecache actions.

Code

function smartcrop_scale_and_crop_image(&$image, $data) {
  if (imageapi_toolkit_invoke('smartcrop_scale', $image, $data)) {
    return TRUE;
  }
}