function theme_image_scale_summary
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
-
modules/
image/ image.admin.inc, line 909
Code
function theme_image_scale_summary($variables) {
$data = $variables['data'];
return theme('image_resize_summary', array(
'data' => $data,
)) . ' ' . ($data['upscale'] ? '(' . t('upscaling allowed') . ')' : '');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.