{#
/**
 * @file
 * Default theme implementation to display a formatted image field.
 *
 * Available variables:
 * - image: A collection of image data.
 * - image_style: An optional image style.
 * - url: An optional URL the image can be linked to.
 *
 * @see \Drupal\image\Hook\ImageThemeHooks::preprocessImageFormatter()
 *
 * @ingroup themeable
 */
#}
{% if url %}
  {{ link(image, url) }}
{% else %}
  {{ image }}
{% endif %}
