{% if object is defined %}
    <table class="table"> 
        <tr class="sonata-ba-view-container">
            <th>Zdjęcia</th>
            <td>
                {%  if attribute(object, 'image1') is not empty %}
                    <img alt="" src="/files/school/{{ attribute(object, 'image1') }}" width="200" />
                {% endif %}
                {%  if attribute(object, 'image2') is not empty %}
                    <img alt="" src="/files/school/{{ attribute(object, 'image2') }}" width="200" />
                {% endif %}
                {%  if attribute(object, 'image3') is not empty %}
                    <img alt="" src="/files/school/{{ attribute(object, 'image3') }}" width="200" />
                {% endif %}
                {%  if attribute(object, 'image4') is not empty %}
                    <img alt="" src="/files/school/{{ attribute(object, 'image4') }}" width="200" />
                {% endif %}
                {%  if attribute(object, 'image5') is not empty %}
                    <img alt="" src="/files/school/{{ attribute(object, 'image5') }}" width="200" />
                {% endif %}
                {%  if attribute(object, 'image6') is not empty %}
                    <img alt="" src="/files/school/{{ attribute(object, 'image6') }}" width="200" />
                {% endif %}
            </td>
        </tr>
    </table>
{% endif %}