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