theme_image_scale_summary

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 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

Code

modules/image/image.admin.inc, line 877

<?php
function theme_image_scale_summary($variables) {
  $data = $variables['data'];
  return theme('image_resize_summary', array('data' => $data)) . ' ' . ($data['upscale'] ? '(' . t('upscaling allowed') . ')' : '');
}
?>