fix the thumbnails #1

Closed
opened 2024-03-01 20:48:55 +01:00 by lnl · 3 comments

scaling always crops the thumbnails, ignoring the thumbnailing method (scale/crop), this makes client behavior much different, by stretching photos (like Element Desktop) and/or showing cropped pictures instead of just scaled versions (Element Desktop, FluffyChat)

example invalid thumbnail: https://matrix.laura.pm/_matrix/media/r0/thumbnail/laura.pm/WHyBsZRNxQiFpBBBvrEnibZu?width=800&height=600&method=scale (valid one from a working Synapse instance, for comparison: https://matrix.badat.dev/_matrix/media/r0/thumbnail/laura.pm/WHyBsZRNxQiFpBBBvrEnibZu?width=800&height=600&method=scale)

scaling always crops the thumbnails, ignoring the thumbnailing method (scale/crop), this makes client behavior much different, by stretching photos (like Element Desktop) and/or showing cropped pictures instead of just scaled versions (Element Desktop, FluffyChat) example invalid thumbnail: https://matrix.laura.pm/_matrix/media/r0/thumbnail/laura.pm/WHyBsZRNxQiFpBBBvrEnibZu?width=800&height=600&method=scale (valid one from a working Synapse instance, for comparison: https://matrix.badat.dev/_matrix/media/r0/thumbnail/laura.pm/WHyBsZRNxQiFpBBBvrEnibZu?width=800&height=600&method=scale)
lnl self-assigned this 2024-03-01 20:48:55 +01:00
lnl closed this issue 2024-03-01 20:48:55 +01:00
Poster
Owner

mentioned in commit fe4e737082

mentioned in commit fe4e737082ff20c33c92ec813e8dda558be941c9
Poster
Owner

changed the description

changed the description
Poster
Owner

assigned to @selfisekai

assigned to @selfisekai
Sign in to join this conversation.
No Label
No Milestone
No project
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: lnl/why-is-synapse#1
There is no content yet.