@register.filter
def resize(value, size, root_name='resize'):
    return reverse('imagefit_resize', kwargs=dict(
        path_name=root_name, format=size, url=value))
Generates the url for the resized image prefixing with prefix_path
dataset/ETHPy150Open vinyll/django-imagefit/imagefit/templatetags/imagefit.py/resize