Page MenuHomePhabricator

Choose a sensible set of thumbnail sizes for Special:Preferences
Open, MediumPublic

Description

Main goal: Choose a sensible set of thumbnail sizes to offer in Special:Preferences. We should have fewer, carefully chosen options. Our choices should provide the maximum utility for different types of users (e.g., small size for people with low bandwidth and large size for people with high pixel density) while also being efficient with disk space and performance.

Current status: https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php says (as of July 2015):

'wgThumbLimits' => array(
'default' => array( 120, 150, 180, 200, 220, 250, 300, 400 ),
'+itwikiquote' => array( 360 ),
'svwiki' => array( 120, 200, 250, 300, 360 ),
),

MediaViewer uses these sizes: 320, 800, 1024, 1280, 1920, 2560, 2880

Because of retina support, we effectively support three times as many sizes as it looks like (at least for smaller ones):

120 => 120, 180, 240
150 => 150, 225, 300
180 => 180, 270, 360
200 => 200, 300, 400
220 => 220, 330, 440
250 => 250, 375, 500
300 => 300, 450, 600

Event Timeline

I think we should build on multiples of 120 and 160. That should result in the following common cached image sizes: 120, 160, 180, 240, 320, 360, 480, 640, 720, 960, 1280, 1440, 1920... with 240 as the default.

That means no more 150 or 220 (and multiples of those).

That's one proposal for simplifying the list.

There's a larger list of options (not including the one above) at
https://www.mediawiki.org/wiki/Requests_for_comment/Standardized_thumbnails_sizes#Preferred_numbers
I'd tentatively suggest merging this task into that section? Or vice-versa.