[Migration] Cannot Upload PNG #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original: https://git.mowoe.com/reverend/lostplaces-backend/issues/2
When Uploading an image via the place create form, it throws an error. That’s because the used lib for generating thumbnails (django thumbs 2) seem to have a bug concerning PNG. This issued is known (https://github.com/rrmerugu/django-thumbs-v2/pull/2), but the MergeRequest is ignored since last November. The only option is to switch to another library, I think
Comment by reverend from Mon, 03 Aug 2020 19:14:34 CEST
Switched to https://github.com/SmileyChris/easy-thumbnails, seems to work
Comment by Commander1024 from Mon, 03 Aug 2020 21:34:26 CEST
Switching thumbnails introduced new image cropping behaviour. Intermediate images all appear in a cropped 16:9’ish aspect ratio, while not respecting orientation.
Comment by Commander1024 from Mon, 03 Aug 2020 22:00:39 CEST
Fixed with commit
f69f137402