Last modified: 2014-02-12 23:45:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37844, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35844 - Images rendering for high-DPI / high device pixel ratio / "retina" display
Images rendering for high-DPI / high device pixel ratio / "retina" display
Status: RESOLVED DUPLICATE of bug 36198
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-10 04:06 UTC by Peter Wong
Modified: 2014-02-12 23:45 UTC (History)
12 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Wong 2012-04-10 04:06:11 UTC
To provide sharp images to (most notably) mobile devices, especially newer ones with high-DPI, I suggest utilizing their physical / device pixels by offering overly-sized images comparing to "displayed" size.

For example, for device-pixel-ratio:2 devices (e.g. iPhone 4, Galaxy Nexus, new iPad), an image to be displayed in 300px×225px (measured in virtual pixels) should be provided with one originally sized 600px×450px (measured in physical pixels). Apart from device-pixel-ratio:2 there are also devices with ratio 1.5.

I see this is technically possible in Wikipedia for many thumbnail images, since many raster images have their original size more than quadruple of their thumbnail size, and many other images are simply vector. And it is left whether the rendering engine can determine the best image resolution, either by client side CSS or on server side.

Mobile browsers with webkit engine (Android browser, Safari, Chrome), Firefox and Opera has already added device-pixel-ratio media filter in CSS3. While Internet Explorer mobile for Windows Phone does not seem to support yet, fallback to current resolution is still possible.

While this does not provide more information regarding the subject most of the time, it still lets those devices show clearer and more detailed photos with their full display capabilities. This can be important for diagrams shown on such tiny screens.
Comment 1 Peter Wong 2012-04-11 02:43:30 UTC
Just for extra information, I originally did not file this enhancement only for Mobile Frontend, as I feel the "desktop" site of wiki should consider adapting to new device-pixel-ratio issue too, just probably with a lower priority than in mobile site.
Comment 2 Bawolff (Brian Wolff) 2012-04-11 18:04:43 UTC
Adding Brion to cc on this, since I think he's doing this(?)
Comment 3 Brion Vibber 2012-04-11 23:12:38 UTC
Adding tracking bug 32101
Comment 4 Jon 2012-09-18 05:28:27 UTC

*** This bug has been marked as a duplicate of bug 36198 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links