Last modified: 2005-12-14 11:26:35 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 T6207, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4207 - Wrong image size when using 100x200px syntax to scale image up
Wrong image size when using 100x200px syntax to scale image up
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.6.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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
fix.
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.


Navigation
Links