Add widescreen resolutions to Image size limits for file description pages
OpenPublic

Description

Author: nsk

Description:
The default value of $wgImageLimits should be updated to include widescreen resolutions.

now it is:

array (

array(320,240),
array(640,480),
array(800,600),
array(1024,768),
array(1280,1024),
array(10000,10000) 
)

it could be:

array (

array(320,240),
array(640,480),
array(800,480),
array(800,600),
array(1024,600),
array(1024,768),
array(1280,800),
array(1280,1024),
array(1440x900),
array(1680x1050),
array(10000,10000) 
)

Version: 1.14.x
Severity: enhancement
URL: https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump/Proposals&oldid=88502688#Choices_of_size_of_image

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz16081.
bzimport created this task.Via LegacyOct 23 2008, 10:54 PM
Tobias added a comment.Via ConduitAug 2 2009, 7:15 PM

I'm not sure about this, but wouldn't that change break the settings for everyone who has selected 10000,10000?
The user preference is stored as an offset in the database. The only way to fix this without a schema change and without breaking any existing user preferences seems to add new options at the bottom.
The following should work, but it's ugly (because it isn't sorted by size).

array (

array(320,240),
array(640,480),
array(800,480),
array(800,600),
array(1024,600),
array(1024,768),
array(1280,800),
array(10000,10000),
array(1280,1024),
array(1440x900),
array(1680x1050)
)

A nice fix would require a different way of storing this preference in the database.

bzimport added a comment.Via ConduitFeb 12 2013, 5:56 PM

giusca wrote:

I propose that the HD resolution (1920×1080) to be added as a default download resolution, as that's a common resolution for all kinds of displays.

Gilles added a project: Multimedia.Via WebNov 24 2014, 3:29 PM

Add Comment