Hi Roan,

thanks for replying. With the following link as an example, I can get the information I need for the width of images. However this refers to the 'real' size of the images, not the thumbnails (as they appear on an article). Is there a way to get that size?

Best regards,
Markos Gogoulos


On Mon, Apr 14, 2008 at 4:21 PM, Roan Kattouw <roan.kattouw@home.nl> wrote:
Markos Gogoulos schreef:
> Dear all,
> using the wikipedia api one can get a list with images an article
> contains (title, touched, lastrevid). Is it possible to get the
> image's width and height at the moment? If not, would it be possible,
> in future revisions?
Sure, use a generator:


(you can add more properties to iiprop if you want, see [1] for a
complete list)

Roan Kattouw (Catrope)

[1] http://www.mediawiki.org/wiki/API:Query_-_Properties#imageinfo_.2F_ii

Mediawiki-api mailing list

Under the paving stones, the beach