Skip to content

Large thumbnails undershoot the requested size #5302

Open
@matrixbot

Description

This issue has been migrated from #5302.


If you request a larger thumbnail size than the largest precalculated thumbnail, you'll get the largest precalculated thumbnail, which could significantly undershoot the requested size.

This will end up looking horrible and blurry as the client then scales up the thumbnail to the size it asked for.

In Riot/Web (as of matrix-org/matrix-react-sdk#2439) we explicitly ask for the original image if the thumbnail exceeds 800x600, but we might do better to handle this more intelligently. Perhaps the solution is just to pregenerate even bigger thumbnails? Or default to serving the original image?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions