Image
Contains information about an image and a URL to the image.
Elements
Name | Type | Description |
aspectRatio | string | Aspect ratio (width:height) of the image. |
author | string | Person or company that took the photo. |
caption | string | A description that can accompany an image. |
copyrightOwner | string | Company that owns the image copyright. |
formatid | integer | Rovi image format ID, which indicates the file format and the size of the bounding box that an image fills in one or both dimensions. See the Format IDs table. |
height | integer | Vertical number of pixels. |
imageCastWeight | float | Weighting of the relative importance of the image based on relevance and prominance of cast members in the image:
- Zero (0) means no cast members in the image.
- A lower number means a greater weight (more cast members and more prominent cast members).
- A higher number means a lower weight (fewer cast members and less prominent cast members).
|
imageTypeId | integer | Rovi image type ID, which indicates the type of image as shown in the Image Type IDs table. |
orientation | string | One of the following image orientations:
- Portrait (height longer than or equal to the width)
- Landscape (height shorter than the width)
|
url | string | Link to the image. |
width | integer | Horizontal number of pixels. |
zoomLevel | ImageZoomLevel | How much of the subject appears in the picture. |
XML Response Example
<image>
<url>http://actual-url-concealed.png</url>
<caption>NEW YORK - APRIL 10: Nathan Lane arrives at the American Theatre Wing Annual Spring Gala at Cipriani 42nd Street on April 10, 2006 in New York City.</caption>
<imageCastWeight i:nil="true" />
<imageTypeId>17</imageTypeId>
<width>114</width>
<height>190</height>
<formatid>34</formatid>
<orientation>Portrait</orientation>
<aspectRatio>3:5</aspectRatio>
<zoomLevel>3</zoomLevel>
<copyrightOwner i:nil="true" />
<author>Bryan Bedder/Getty Images Entertainment/Getty Images</author>
</image>
JSON Response Example
{
"url":"http://actual-url-concealed.png",
"caption":"NEW YORK - APRIL 10: Nathan Lane arrives at the American Theatre Wing Annual Spring Gala at Cipriani 42nd Street on April 10, 2006 in New York City.",
"imageCastWeight":null,
"imageTypeId":"17",
"width":114,
"height":190,
"formatid":34,
"orientation":"Portrait",
"aspectRatio":"3:5",
"zoomLevel":3,
"copyrightOwner":null,
"author":"Bryan Bedder/Getty Images Entertainment/Getty Images"
}
-