function theme_imagecrop_javascript in Image javascript crop 5
Same name and namespace in other branches
- 6 imagecrop_actions.inc \theme_imagecrop_javascript()
Display properties of a single action
Parameters
$element passed on by imagecache:
Return value
string
File
- ./
imagecrop_actions.inc, line 51 - Imagecache actions implementation.
Code
function theme_imagecrop_javascript($element) {
$data = $element['#value'];
return 'width: ' . $data['width'] . ', height: ' . $data['height'] . ', xoffset: ' . $data['xoffset'] . ', yoffset: ' . $data['yoffset'] . ', resizable: ' . $data['resizable'];
}