Hi everyone,
Is it possible to retrieve via the Wikipedia API (or index.php) a thumbnail of a picture given its file name ? All i know currently is that there's the ...index.php?title=Special:FilePath/<FileName> page but i do not know how i could use it to get in my application a thumbnail with the specified dimension instead of the full resolution picture.
Hi,
You can try imageinfo query with iiprop=url and iiurlwidth / iiurlheight. It seems to return and URL for a picture with the required size.
Nico
On Mon, Oct 18, 2010 at 4:04 PM, Gabriel Sandor gabi.t.sandor@gmail.comwrote:
Hi everyone,
Is it possible to retrieve via the Wikipedia API (or index.php) a thumbnail of a picture given its file name ? All i know currently is that there's the ...index.php?title=Special:FilePath/<FileName> page but i do not know how i could use it to get in my application a thumbnail with the specified dimension instead of the full resolution picture.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org