Last modified: 2006-06-04 01:29:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T3944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1944 - Allow image sizing by height
Allow image sizing by height
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links