{% set target_path = (target_path is empty) ? service('image.library').getDefaultImagesPath() : target_path %} {% set accept = accept|default('image/*') %}
{% if target_path is not empty and hide_path != true %}
..{{ target_path|relativePath }} {{ file_name }}
{% endif %}
{% if deny_delete == true and hide_labels != true %}
{{ labels.delete }}
{% endif %} {% if resize_width is not empty and resize_height is not empty and hide_labels != true %}
{{ resize_width }}px
x
{{ resize_height }}px
{% endif %} {{ button_title|default(buttons.save.content) }}