-
-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does Sorl Thumbnail Support GIFs? #687
Comments
Answer was no. Nobody will ever answer this so if this helps anyone, I made a special case for GIFs by creating a subclass of Pil Engine. You also need to modify
|
Above solution #687 (comment) will only return the actual GIF to you, without doing any crop |
Default image format
supported formats are: 'JPEG', 'PNG'. This also implicitly sets the filename extension. This can be overridden by individual options.
I have
THUMBNAIL_PRESERVE_FORMAT = True
and noticedsorl.thumbnail.base.EXTENSIONS
contains a 'GIF' mapping... and I know my GIF is getting uploaded as a GIF, but the cache is not caching a GIF, it's caching a non-animated gif (probably the first frame).The text was updated successfully, but these errors were encountered: