Image Collection API Documentation - Version 1

Resources - Display Size (Display sizes)

A display size represents a Photograph at a particular size and contains meta-data this representation.

Resource model

Name Property Name Data Type Optional Description  
Name name String Yes An identifier for the class of display size (i.e. small, medium, etc.)  
Watermarked watermarked Boolean No Whether the image available for the display size contains a visible watermark  
Width width Integer Yes The width of the image available for the display size measured in pixels  
Height height Integer Yes The height of the image available for the display size measured in pixels  
MIME-Type mime_type String No The media type of the image available for the display size, currently this will always be image/jpeg  
Href href String No A fully qualified URL to the image available for the diplay size, suitable for use as a src attribute for a HTML img tag  

Example (JSON)

{
    "name": "large",
    "watermarked": true,
    "width": 540,
    "height": 351,
    "mime-type": "image\/jpeg",
    "href": "http:\/\/www.photo.antarctica.ac.uk\/external\/guest\/photo\/large\/53616c7465645f5f3c1b5238f31f35a7072fb15766714a43428c3d790280f4a8.jpg"
}

Resource methods

None.


This information may be out of date whilst this website is being redeveloped. Until then, if you have any problems using an API documented here, please contact the relevant project maintainer.