[Migration] Cannot Upload PNG #2

Closed
opened 2021-10-18 10:18:37 +02:00 by reverend · 0 comments
Collaborator

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

## 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
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Commander1024/lostplaces-backend#2
No description provided.