Mercurial > hg > isophonics-drupal-site
annotate core/themes/stable/templates/field/image-style.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Theme override for an image using a specific image style. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - attributes: HTML attributes for the image, including the following: |
Chris@0 | 8 * - src: Full URL or relative path to the image file. |
Chris@0 | 9 * - class: One or more classes to be applied to the image. |
Chris@0 | 10 * - width: The width of the image (if known). |
Chris@0 | 11 * - height: The height of the image (if known). |
Chris@0 | 12 * - title: The title of the image. |
Chris@0 | 13 * - alt: The alternative text for the image. |
Chris@0 | 14 * |
Chris@0 | 15 * @see template_preprocess_image_style() |
Chris@0 | 16 */ |
Chris@0 | 17 #} |
Chris@0 | 18 {{ image }} |