<div class="staticBlock">
    {% for instance in content.content %}
        <div class="staticBlockInstance">
            <a href="{{ instance.url }}" target="_blank">
                <img src="{{ paths[instance.size] ~ '/' ~ instance.image }}"
                     alt="{{ instance.alt_text }}" />
            </a>
        </div>
    {% endfor %}
</div>