{% load thumbnail %} {% thumbnail object.image 500x300 as img %} {{ object.title }}