Last modified: 2006-06-04 01:29:48 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 1944 - Allow image sizing by height
Allow image sizing by height
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-04-22 14:09 UTC by Robert Shimmin
Modified: 2006-06-04 01:29 UTC (History)
0 users

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


Description Robert Shimmin 2005-04-22 14:09:31 UTC
This is a feature request.  Presently images can only be sized by width.  But with the 
addition of image galleries in 1.4, it would be useful to have a simple way to make each 
image in a gallery the same height, so that rows of images line up well.
Comment 1 JeLuF 2005-04-25 10:07:08 UTC
Image size can be given as an option for thumbnails. 

Either by specifying |100px| or as |100x100px|. The later specifies the width
and height.
If you want to have images of the same height with different width, use a very
big width, e.g.
|10000x100px| should work.

This does not work for image galleries, which do not support any options.
Comment 2 Rowan Collins [IMSoP] 2005-04-25 15:28:43 UTC
(In reply to comment #1)

> If you want to have images of the same height with different width, use a very
> big width, e.g.
> |10000x100px| should work.

Well I never, so it does. I never did work out what that weird maths was
supposed to result in, and that was *with* the code! ;)

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