Last modified: 2011-03-13 18:04:34 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 2990 - Thumbnail boxes improperly sized when |NUMxNUM px is used.
Thumbnail boxes improperly sized when |NUMxNUM px is used.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.3.x
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Gre...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-28 21:29 UTC by grendelkhan
Modified: 2011-03-13 18:04 UTC (History)
0 users

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


Attachments

Description grendelkhan 2005-07-28 21:29:10 UTC
I have a skinny, tall image which I want to use as a thumbnail.
([[commons:Image:AMR and PCI slots.gk.jpg]], in particular.) The thumb is far
too tall, so I used the |300x300px tag as follows:

[[Image:AMR and PCI slots.gk.jpg|300x300px|thumb|AMR slot (brown, at left), with
PCI slot (white, at right) for comparison.]]

The relevant portion of the generated HTML is [div style="width: 302px;"], which
should have a width of 107px. To do this, the code |105x300px must be used. The
image box should automatically size itself to the generated thumbnail, not
require that the precise pixel dimensions be entered.
Comment 1 JeLuF 2005-07-28 21:33:31 UTC
The 300x300px specification creates a box big enough to contain a 300x300 px
thumbnail. It's intended to be used when one wants to have several image boxes
of the same size for images of different aspect ratio or size. If you specify
300x300px for all of them, the boxes will have the same size for all of them,
and the images will fit into it. This is intended behaviour.

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


Navigation
Links