image.html.twig

Default theme implementation of an image.

Available variables:

  • attributes: HTML attributes for the img tag.
  • style_name: (optional) The name of the image style applied.

See also

template_preprocess_image()

File

core/modules/system/templates/image.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.
doc_Drupal
2016-10-29 09:19:04
Comments
Leave a Comment

Please login to continue.