Last modified: 2010-05-15 15:37:54 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 T4267, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2267 - Same-size thumbnail generated
Same-size thumbnail generated
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-30 07:13 UTC by David Benbennick
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Attachments
Patch to includes/Image.php to change a width test from ">" to ">=" (612 bytes, patch)
2005-05-30 07:14 UTC, David Benbennick
Details

Description David Benbennick 2005-05-30 07:13:17 UTC
Given an image foo.jpg that is 100px wide, the code "[[Image:foo.jpg|100px]]"
will cause MediaWiki to generate a 100px thumbnail, instead of serving the
original image.  This redundant thumbnail is often bigger than the original image.
Comment 1 David Benbennick 2005-05-30 07:14:48 UTC
Created attachment 578 [details]
Patch to includes/Image.php to change a width test from ">" to ">="
Comment 2 Brion Vibber 2005-05-30 07:19:15 UTC
Please don't change the assignment of bugs away from wikibugs-l, especially if you don't add it to the CC list.
Comment 3 Brion Vibber 2005-05-30 07:26:30 UTC
Fix applied to CVS HEAD and REL1_4.

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


Navigation
Links