Last modified: 2005-12-14 11:26:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4207 - Wrong image size when using 100x200px syntax to scale image up
Wrong image size when using 100x200px syntax to scale image up
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-12-07 18:02 UTC by David Benbennick
Modified: 2005-12-14 11:26 UTC (History)
0 users

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

Fix the problem (in Linker.php) (1.61 KB, patch)
2005-12-07 19:58 UTC, David Benbennick

Description David Benbennick 2005-12-07 18:02:43 UTC
For example, if you say [[Image:Nuvola apps access.png|800x600px]], MediaWiki
tells the browser to display the image at 800x800, not 600x600.  It seems that
this bug only occurs when scaling an image up.  Another example: [[Image:SR map
Lambertville.svg|800x100px]] uses the 76px thumbnail (which is right), scaled to
800x1024px (which is, of course, wrong).
Comment 1 David Benbennick 2005-12-07 19:58:07 UTC
Created attachment 1152 [details]
Fix the problem (in Linker.php)

The patch to bug 153 had an error in Linker.php:makeImageLinkObj.  Here's a
Comment 2 Brion Vibber 2005-12-07 22:57:32 UTC
Applied to HEAD.

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