<div class="imageInputAndPreviewContainer">
    {% if input_value is not empty %}
        <img class="imageInputPreview" src="/{{ attributes['preview_image_path'] }}/{{ input_value }}" alt="" />
        <input
            type="hidden"
            name="{{ attributes['input_name'] }}"
            value="{{ input_value }}"
            class="imageHiddenInputValue"
        />
        <br/>
    {% endif %}
    <input
        type="file"
        name="{{ attributes['input_name'] }}"
        id="{{ attributes['id'] }}"
        class="{{ attributes['class'] }}"
        {% for attribute_name, value in additional_attributes %}
            {{ attribute_name }}="{{ value }}"
        {% endfor %}
    />
    {{ info | raw }}
</div>
