Last modified: 2013-01-18 20:54:14 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 T45770, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43770 - Ratio issues with large images: Keeps original height but compresses width
Ratio issues with large images: Keeps original height but compresses width
Status: RESOLVED WONTFIX
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
Unspecified
Smartphone All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-09 10:47 UTC by Andrew Gray
Modified: 2013-01-18 20:54 UTC (History)
2 users (show)

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


Attachments

Description Andrew Gray 2013-01-09 10:47:52 UTC
Some articles (such as today's en.wp featured article, http://en.wikipedia.org/wiki/Richard_Nixon) have large inline images; in the case of Nixon, they're set at 600px wide. This causes problems in the mobile app, but not in the way I expected.

Rather than have the image extend off the side of the screen, or forcing the whole image to be smaller, it keeps the original *height* but compresses the width. The result is that a 600x500px image becomes a distorted ~480x500px one (I'm testing this on a device with a 480px wide screen, using the 1.3.2 Android app)

Quite a rare problem, this! Would it be possible for the app to handle unusually wide images by reducing them in size proportionally, rather than just in one dimension? This seems to be the way most mobile browsers handle the situation.
Comment 1 Andrew Gray 2013-01-09 12:08:22 UTC
I've just been pointed to https://bugzilla.wikimedia.org/show_bug.cgi?id=43425 - this is the same issue, and marked resolved, but apparently only fixed the mobile site rather than the app.
Comment 2 Brion Vibber 2013-01-18 20:54:14 UTC
We won't do much further work on the PhoneGap-based apps in favor of native apps; using updated common styles with the mobile site should resolve this issue in the future app.

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


Navigation
Links