Skip to content
Snippets Groups Projects
Commit dd455c51 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3357708: Move image template to system and use the improved Image atom...

Issue #3357708: Move image template to system and use the improved Image atom SDC component with Bootstrap 5 Image component options and Utility Classes
parent 49f5e45d
No related branches found
No related tags found
No related merge requests found
{#
/**
* @file
* Template for an image field.
*/
#}
{% include 'varbase_components:image' with {
responsive: true,
} %}
{#
/**
* @file
* Vartheme BS5's 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 template_preprocess_image()
*
* @ingroup themeable
*/
#}
{% include 'varbase_components:image' with {
attributes: attributes,
style_name: style_name,
responsive: true
}
%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment