{% raw %} {% load wagtailcore_tags wagtailimages_tags i18n %} {% if social_media %} {% for site in social_media %} {% image site.value.image width-50 %} {% endfor %} {% endif %} {% endraw %}