@register.filter
def cropscale(filename, size=u'200x200'):
 return CropscaleThumbnailer(filename, size)

@ register . filter def cropscale ( filename , size = u'200x200' ) : return CropscaleThumbnailer ( filename , size )
scales the image down and crops it so that its size equals exactly the size passed .