Last modified: 2010-05-15 15:37:54 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 2267 - Same-size thumbnail generated
Same-size thumbnail generated
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  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: ---

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

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.