Versions | |
---|---|
7 – 8 | theme_image_scale_summary($variables) |
Returns HTML for a summary of an image scale effect.
$variables An associative array containing:
modules/
<?php
function theme_image_scale_summary($variables) {
$data = $variables['data'];
return theme('image_resize_summary', array('data' => $data)) . ' ' . ($data['upscale'] ? '(' . t('upscaling allowed') . ')' : '');
}
?>