Thanks,
Thats precisely what I was looking.


Hasanat Kazmi
+923464362473


On Sat, May 7, 2011 at 1:43 PM, Bryan Tong Minh <bryan.tongminh@gmail.com> wrote:
On Sat, May 7, 2011 at 6:22 AM, Hasanat Kazmi <hasanatkazmi@gmail.com> wrote:
> Hello list,
> I am trying to get all images in a page but I want absolute paths of those
> images not just image name (aka image titles).
> e.g.
> To get all images in article "Pakistan International Airlines", I call
> http://commons.wikimedia.org/w/api.php?action=query&prop=images&titles=Pakistan%20International%20Airlines&format=xml
>
Make it a generator:

http://commons.wikimedia.org/w/api.php?action=query&generator=images&titles=Pakistan%20International%20Airlines&format=xml&prop=imageinfo&iiprop=url