Chris@17: {# Chris@17: /** Chris@17: * @file Chris@17: * Default theme implementation for a summary of an image scale and crop effect. Chris@17: * Chris@17: * Available variables: Chris@17: * - data: The current configuration for this resize effect, including: Chris@17: * - width: The width of the resized image. Chris@17: * - height: The height of the resized image. Chris@17: * - anchor: The part of the image that will be retained after cropping. Chris@17: * - anchor_label: The translated label of the crop anchor. Chris@17: * - effect: The effect information, including: Chris@17: * - id: The effect identifier. Chris@17: * - label: The effect name. Chris@17: * - description: The effect description. Chris@17: * Chris@17: * @ingroup themeable Chris@17: */ Chris@17: #} Chris@17: {% if data.width and data.height -%} Chris@17: {{ data.width }}×{{ data.height }} Chris@17: {%- else -%} Chris@17: {% if data.width %} Chris@17: {% trans %} Chris@17: width {{ data.width }} Chris@17: {% endtrans %} Chris@17: {% elseif data.height %} Chris@17: {% trans %} Chris@17: height {{ data.height }} Chris@17: {% endtrans %} Chris@17: {% endif %} Chris@17: {%- endif %}