{% load thumbnail %} {% thumbnail product.sample_image 244x244 crop as thumb %} {% thumbnail product.sample_image 488x488 crop as thumb2 %}