Page MenuHomePhabricator

Don't scale up thumbs smaller than the thumb size
Closed, ResolvedPublic

Description

Author: dunc_harris

Description:
Images that are less than 180px wide often have the |thumb| put around them,
which causes them to expand and look horrible. Rather, the wiki should
automatically substitute |frame| for |thumb| when the width of the image is
equal or less than 180px.


Version: unspecified
Severity: minor

Details

Reference
bz2800

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:41 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz2800.

Are you asking for "thumb" to avoid resizing images that are smaller than the default thumb size?

It would be best to be clear here and not mention "frame" at all.

dunc_harris wrote:

Yes, you said it better than I did.

Fixed on CVS HEAD and REL1_5.

An explicit size will still scale up, but the default thumb size will
not.