Page MenuHomePhabricator

Same-size thumbnail generated
Closed, ResolvedPublic

Description

Author: dbenbenn

Description:
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.


Version: 1.5.x
Severity: minor

Details

Reference
bz2267

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:32 PM
bzimport set Reference to bz2267.
bzimport added a subscriber: Unknown Object (MLST).

dbenbenn wrote:

Patch to includes/Image.php to change a width test from ">" to ">="

Attached:

Please don't change the assignment of bugs away from wikibugs-l, especially if you don't add it to the CC list.

Fix applied to CVS HEAD and REL1_4.