{% load wagtailcore_tags core_tags wagtailimages_tags %} {% if article.get_effective_image %} {% image article.get_effective_image fill-96x96 as teaser_thumbnail %} {{article.get_effective_image}} {% endif %}