{% load thumbnail %} {% thumbnail attachment.file "64x64" as image %} {% endthumbnail %}