You are here

function hook_simplecrop_crop_insert in SimpleCrop 7

Triggers when new crop has been saved.

Parameters

$crop: Object with crop information. Contains: $crop->uri - URI of image which was cropped. $crop->data - Information about crop (coordinates, etc). $crop->original - Info about crop of the same image before save (relevant only for updates).

File

./simplecrop.api.php, line 18
Describes hooks defined by SimpleCrop module.

Code

function hook_simplecrop_crop_insert($crop) {
}