Last modified: 2010-05-15 15:33:23 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 T3220, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1220 - Thumbs stretch small images (with no width specified)
Thumbs stretch small images (with no width specified)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.4.x
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Gre...
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links