{% load staticfiles %}
{% if mannequin %}
    <img class="isCoordiFront" src="{{ mannequin.front.url }}">
    <img class="isCoordiBack" src="{{ mannequin.back.url }}">
{% endif %}

{% for main_fabric in fabric_list %}
    {% if main_fabric.product.product_type.name == 'jacket' %}
        <img class="jacketMainFabric isCoordiFront" src="{{ main_fabric.front_mapping_image.url }}">
        <img class="jacketMainFabric isCoordiBack" src="{{ main_fabric.back_mapping_image.url }}">
    {% elif main_fabric.product.product_type.name == 'vest' %}
        <img class="vestMainFabric isCoordiFront" src="{{ main_fabric.front_mapping_image.url }}">
        <img class="vestMainFabric isCoordiBack" src="{{ main_fabric.back_mapping_image.url }}">
    {% else %}
        <img class="isCoordiFront" src="{{ main_fabric.front_mapping_image.url }}">
        {% if not main_fabric.product.product_type.name == 'acc' %}
            <img class="isCoordiBack" src="{{ main_fabric.back_mapping_image.url }}">
        {% endif %}
    {% endif %}
{% endfor %}