<commit_before>{% set images = (images is defined) ? images : block.images %}
{%- block images -%}
<div class='images {{ blockview.images.displayOption }}' property='images'>
    {% set images = sulu_resolve_medias(images, app.request.locale) %}
    {% for image in images %}
        {%- block image -%}
        <img
            {% block image_attributes %}
                src='{% block image_source %}{{ image.url }}{% endblock %}'
                title='{% block image_title %}{{ image.title }}{% endblock %}'
                alt='{% block image_alternative %}{{ image.title }}{% endblock %}'
            {% endblock %}<commit_msg>Allow to use a different property name for images<commit_after>{% set block_property = (block_property is defined) ? block_property : 'images' %}
{% set images = (images is defined) ? images : block[block_property] %}

{%- block images -%}
<div class='{{ block_property }} {{ blockview[block_property].displayOption }}' property='{{ block_property }}'>
    {% set resolved_images = sulu_resolve_medias(images, app.request.locale) %}
    {% for image in resolved_images %}
        {%- block image -%}
        <img
            {% block image_attributes %}
                src='{% block image_source %}{{ image.url }}{% endblock %}'
                title='{% block image_title %}{{ image.title }}{% endblock %}'
                alt='{% block image_alternative %}{{ image.title }}{% endblock %}'
            {% endblock %}
{'fraction_non_alphanumeric': 0.1659779614325069, 'fraction_numerical': 0.0, 'mean_word_length': 2.8236842105263156, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2552153', 'n_tokens_mistral': 441, 'n_tokens_neox': 403, 'n_words': 103}