function theme_imagecache_resize in ImageCache 5.2
Same name and namespace in other branches
- 6.2 imagecache_actions.inc \theme_imagecache_resize()
2 calls to theme_imagecache_resize()
File
- ./
imagecache_actions.inc, line 30
Code
function theme_imagecache_resize($element) {
$data = $element['#value'];
if ($data['width'] && $data['height']) {
return check_plain($data['width']) . 'x' . check_plain($data['height']);
}
return $data['width'] ? t('width @width', array(
'@width' => $data['width'],
)) : t('height @height', array(
'@height' => $data['height'],
));
}