Last modified: 2011-03-13 18:05:10 UTC
[[Image:Foo.png|30px]] sets fixed width and height in ratio [[Image:Foo.png|30x50px]] sets a box to fit in could something like [[Image:Foo.png|x30px]] set fixed height and width in ratio?
Why can't you just calculate the corresponding required width from the height/width ratio?
Aspect ratio may change, and is different for every image. It's probably better to have this in a relatively simple and consistent fashion. Note that it's possible to do this with [[Image:Foo.png|3000000x30px]] but that's rather unintuitive and hackish. A better syntax might be: [[Image:Foo.png|30px high]]
Use the box if required. In general you wouldn't want a 300000 pixel wide image anyway, you would want to set a reasonable box size.