[Answer]-How to apply Thumbor filters effects

1👍

Just use the filters argument:

thumbor_kwargs = {}
thumbor_kwargs['image_url'] = 'localhost:8000/media/image.jpg'
thumbor_kwargs['width'] = 80
thumbor_kwargs['filters'] = [
    "quality(80)",
    "grayscale()",
]

Then the filters will be applied in the image.

Leave a comment