{% for key in dataDetour %}
{% for z in dataDetour[key][box]%}
{% if z.endswith("jpg") or z.endswith("jpeg") or z.endswith("png") or z.endswith("JPG") or z.endswith("JPEG") %}
{% elif z.endswith("tif")%}
{% else %}
{{z|safe}}
{% endif %}
{% endfor %}
{% endfor %}