Ryan, Thanks a lot. I modified your query as a XML query and had good success. Let me give the query I used and the information I was able to get for reference in case some one has a similar issue.
http://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&f... - Apollo - Walters 59533.jpg&iiurlwidth=100&iiurlheight=100 produces a XML response given below. The query response gives the URL of the image as well as URL of thumbnail created with the max width and height parameter maintaining the aspect ratio.
<?xml version="1.0"?> -<api>-<query>-<pages>-<page title="File:Greek - Apollo - Walters 59533.jpg" ns="6" pageid="18787772" imagerepository="local">-<imageinfo><ii descriptionurl="http://commons.wikimedia.org/wiki/File:Greek_-_Apollo_-_Walters_59533.jpg" url="http://upload.wikimedia.org/wikipedia/commons/3/37/Greek_-_Apollo_-_Walters_59533.jpg" thumbheight="100" thumbwidth="92" thumburl="http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Greek_-_Apollo_-_Walters_59533.jpg/92px-Greek_-_Apollo_-_Walters_59533.jpg" height="1800" width="1649" size="1734533"/></imageinfo></page></pages></query></api>
-- View this message in context: http://wikimedia.7.n6.nabble.com/Api-Query-for-thumbnail-images-title-etc-in... Sent from the WikiMedia Commons mailing list archive at Nabble.com.