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 20px. square.
*** 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% D1%8C%D0%BD%D1%8B%D0%B9_%D0%BE%D0%BA%D1%80%D1%83%D0%B3_%D0%A1%D0%B0%D0%B2%D1%91%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: http://ru.wikipedia.org/wiki/User:Nxx/test
"100px100px" doesn't work; it's "100x100px".
Whoops, slip of the fingers. Damn pixels.
Thank you.
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.