Page MenuHomePhabricator

Image modifier "px" could be smarter
Closed, DeclinedPublic

Description

Author: omniplex

Description:
At the moment [[image:clear1x1.gif|50x333px]] or
[[image:clear1x1.gif|50%px]] and similar versions
are all accepted, but their effect is always 50px.

Changing the aspect ratio is usaually a bad idea,
so that's no issue. But a width as percent could
be nice: Web design with absolute widths is very

  1. My browser is older and supports percent.

Version: unspecified
Severity: trivial
OS: other
Platform: Other
URL: http://meta.wikimedia.org/wiki/Help:Magic_words#Size

Details

Reference
bz5568

Related Objects

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:12 PM
bzimport set Reference to bz5568.
bzimport added a subscriber: Unknown Object (MLST).

Percentage would be tightly coupled to the source image's pixel size, which
makes it very poor for portable code. Size can vary dramatically from image
to image, and could be changed over time for a single image (eg, uploading a
higher-resolution version).