Common Structure
Image URLSeveral API methods return elements containing image URLs. URLs to images on Lingr have the following general format: http://images.lingr.com/[object_type]/[partitioned_object_id]/[image_size].gif The following definitions apply to the bracketed elements:
object_type- The type of object that the image represents. Legal values are user and room.
partitioned_object_id- The unique id of the object that the image represents, partitioned into five two-character segments, followed by one three-character segment.
image_size- The width and height of the image, in pixels, expressed like 32x32, or 16x16. The legal values of image_size are determined by the value of object_type, as follows:
object_type:user- Legal values for image_size are 80x80, 48x48, and 26x26.
object_type:room- Legal values for image_size are 48x48, 32x32, and 16x16.
So, for example, some legal Lingr image URLs might be: http://images.lingr.com/user/93/05/8v/HG/4rT/80x80.gif
http://images.lingr.com/room/98/7H/tf/ed/3dK/16x16.gif while the following URL would not resolve: http://images.lingr.com/user/93/05/8v/HG/4rT/32x32.gif
|