1 image.theme.inc | theme_image_scale_summary($variables) |
Returns HTML for a summary of an image scale effect.
Parameters
$variables: An associative array containing:
- data: The current configuration for this scale effect.
Related topics
File
- core/
modules/ image/ image.theme.inc, line 304 - Theme functions for the Image module.
Code
function theme_image_scale_summary($variables) {
$data = $variables['data'];
return theme('image_resize_summary', array('data' => $data)) . ' ' . ($data['upscale'] ? '(' . t('upscaling allowed') . ')' : '');
}