Page MenuHomePhabricator

Use standard thumbsizes in portals search
Closed, ResolvedPublic

Description

Note: This is not about changing the design, the thumbsize for users is 70px (7rem?) and that's not going to change. It's about the size of the thumbnail being fetched from the servers.

Portals search loads thumbnails at 80px (or 160px @ 2dppx). This is not standard size and causes extra thumbnailing and fragmentation of thumbs which is hurting media storage (swift currently has issues with file count in each container, the size is not that much of an issue). I explained it in depth with numbers in T211661#8377883

You should use 120px for 1x and 220px for 2x.

This improves performance of loading thumbnails, reduce latency and so on.

Details

Related Changes in Gerrit:

Event Timeline

Change 856031 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] Change thumbsize to 60px and 120px

https://gerrit.wikimedia.org/r/856031

Change 856031 merged by jenkins-bot:

[wikimedia/portals@master] Change thumbsize to 60px and 120px

https://gerrit.wikimedia.org/r/856031

Ladsgroup claimed this task.

This is done