

@staticmethod
def get_thumbnail(path, size):
    thumbnailer = get_thumbnailer(path)
    thumb = thumbnailer.get_thumbnail({
        'size': size,
        'crop': True,
    })
    return thumb

dataset/ETHPy150Open gkmngrgn/radpress/radpress/models.py ThumbnailModelMixin.get_thumbnail/original