{% deprecated 'The "@ContaoCore/Image/Studio/figure.html.twig" template will be removed in Contao 6. Use the "component/_figure" component from the @Contao namespace instead.' %}

{% import "@ContaoCore/Image/Studio/_macros.html.twig" as studio %}

{{- studio.figure(figure, figure.options|default({})|merge({
    attr: {class: ('image_container ' ~ figure.options.attr.class|default(''))|trim}
})) -}}
