{% load thumbnail %} {% thumbnail product.sample_image 80x80 crop as thumb %} {% thumbnail product.sample_image 160x160 crop as thumb2 %}