{% 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 %}
        />
        {%- endblock -%}
    {% endfor %}
</div>
{%- endblock -%}

{% 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 %}
        />
        {%- endblock -%}
    {% endfor %}
</div>
{%- endblock -%}

Allow to use a different property name for images
Allow to use a different property name for images

This will allow to use the block as
```twig
{% include '@ConnectHollandSuluBlock/html5/parts/images.html.twig' with {block_property: 'myOwnProperty'} %}
```
