[Developers] image_thumb vs. /common/topic/image query

Jack Alves jack.alves at gmail.com
Fri Jun 26 17:35:04 UTC 2009


How does the image_thumb service select which topic to display. It seems to
return the same image that is shown in the freebase.com topic page.


http://api.freebase.com/api/trans/image_thumb/en/michael_jackson

How would I get that same image using a query? A query with limit 1 returns
the second image in the gallery.

  "result": [{
    "/common/topic/image": [{
      "id": "/guid/9202a8c04000641f800000000aaabb43"
    }],
    "id": "/en/michael_jackson"
  }],


I get the image_thumb image if I use this,

[{
     "/common/topic/image": [{
       "id": null,
       "limit":1,
       "index":null,
       "sort":"index"
      }],
      "id": "/en/michael_jackson"
}]


Is this reliable even if images are not explicitly ordered?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090626/37bba5ec/attachment.htm 


More information about the Developers mailing list