{# /** * @file * Default theme implementation to display a preview of an image style. * * Available variables: * - style_id: The ID of the image style. * - style_name: The name of the image style. * - cache_bypass: A timestamp token used to avoid browser caching of images. * - original: An associative array containing: * - url: The URL of the original image. * - width: The width in pixels of the original image. * - height: The height in pixels of the original image. * - rendered: The render array for the original image. * - derivative: An associative array containing: * - url: The URL of the derivative image. * - width: The width in pixels of the derivative image. * - height: The height in pixels of the derivative image. * - rendered: The rendered derivative image. * - preview: An associative array containing: * - original: An associative array containing: * - width: The width in pixels of the original image in the preview. * - height: The height in pixels of the original image in the preview. * - derivative: An associative array containing: * - width: The width in pixels of the derivative image in the preview. * - height: The height in pixels of the derivative image in the preview. * * @see template_preprocess_image_style_preview() * * @ingroup themeable */ #}
{# Preview of the original image. #}
{{ 'original'|t }} ({{ 'view actual size'|t }})
{{ original.rendered }}
{{ original.height }}px
{{ original.width }}px
{# Derivative of the image style. #}
{{ style_name }} ({{ 'view actual size'|t }})
{{ derivative.rendered }}
{{ derivative.height }}px
{{ derivative.width }}px