On 28/04/13 21:41, Luigi Assom wrote:
Hi platonides!
thank you for following up: plz have a look to this simple query: http://en.wikipedia.org/w/api.php?action=query&prop=pageimages&title...
as you can see, the height is set to 100, not width. Am I missing smtg?
Ok, after investigating it, it turns out that the code is checking that none of them is bigger than pithumbsize. As Albert Einstein photo has a portrait orientation, it apparently affects only the height. You can see the opposite effect in an article with a landscape image, eg. http://en.wikipedia.org/w/api.php?action=query&prop=pageimages&title...