Last modified: 2006-02-07 15:38:24 UTC
Hi! Could anybody please solve this problem: there is no possibility to insert an image with certain height in pixels. This causes problems
when creating templates for cities/countries/regions with their own coats of arms and flags. Since most of coats of arms have different
width, the images are depicted with different scales. If would much better if there was possibility to limit the size of image not only by
width, but also by height.
You can use [[Image:Foo.png|20px20px|...]] which forces the image to fit into a
*** Bug 4884 has been marked as a duplicate of this bug. ***
It simply doesent work. :-(
Examples and descriptions of _how_ it doesn't work?
For example, heere: http://ru.wikipedia.org/wiki/%D0%9C%D1%83%D0%BD%D0%B8%D1%86%D0%B8%D0%BF%D0%B0%D0%BB%
D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9 The coat of arms is 100x126 while in the template there is 100px100px
Here is the test image:
"100px100px" doesn't work; it's "100x100px".
Whoops, slip of the fingers. Damn pixels.
And why if dimentions stated as 500x100px, jpg file has height 100 but png file becomes height 99?
To maintain the aspect ratio of the image.