<div class="col-md-4 d-flex justify-content-center mt-2r">
{% if link is empty %}
<img class="img-fluid" src="{{ imageSource }}"/>
{% else %}
<a href="{{ link }}" target="_blank">
<img class="img-fluid" src="{{ imageSource }}"/>
</a>
{% endif %}
</div>