Last modified: 2010-05-15 15:33:23 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 1220 - Thumbs stretch small images (with no width specified)
Thumbs stretch small images (with no width specified)
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-12-28 03:23 UTC by grendelkhan
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Description grendelkhan 2004-12-28 03:23:41 UTC
The |thumb image display tag will stretch an image if it is 
smaller than some predetermined size. Although the image itself 
is not rescaled, the box containing it is too large, and the 
image is scaled to fit that.
Comment 1 Brion Vibber 2004-12-28 15:31:15 UTC
Just a note: it's intended to show the image stretched when a specific size is requested, 
so that eg small icons can be shown at a larger size without wasting time generating a 
large image (which potentially could be abusively large).

However when just giving the |thumb| param it probably should use the real size if it's 
smaller than the default thumb size.
Comment 2 Duncan Harris 2005-09-20 14:59:10 UTC
Using just |thumb| will not scale up images to more than 100% of their width (that one was fixed, though I 
don't know its number).  However, if you specify a width in the markup, then it will go to that width 
regardless of the size of the source image.  Since I don't think you were meaning that, then I'll close this.

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