{% load sorl_thumbnail %} {% if logo %} {% thumbnail logo "x64" crop="center" quality="100" format="PNG" as thumb %} {{ item.title }} {% endthumbnail %} {% endif %}