Identifier

The identifier is highlighted below. Everything to the right of the identifier is controlled by the Image API and is predictable. In the viewer below a full IIIF image URL is shown. One thing to watch out for with a image URL is that it uses https rather than http. With http URLs you will not be able to open the image in a https hosted viewer.

You can see some different image examples by changing the identifier.

Info.json

As well as an image URL there is another special file accessible from the Identifier and this is the info.json:

https://ids.si.edu/ids/iiif/CHSDM-317E001E9E352-000001/info.json

This is a small JSON file that gives information to a viewer on the makeup of the image and what the server supports. For example the info.json gives the full width and height of the source image. A simple example info.json is below:

{
  "@context": "http://iiif.io/api/image/2/context.json",
  "@id": "https://ids.si.edu/ids/iiif/CHSDM-317E001E9E352-000001",
  "protocol": "http://iiif.io/api/image",
  "width": 5471,
  "height": 3757,
  "tiles": [
    {
      "width": 512,
      "scaleFactors": [
        1,
        2,
        4,
        8
      ]
    }
  ],
  "profile": [
    "http://iiif.io/api/image/2/level2.json",
    {
      "formats": [
        "jpg"
      ],
      "supports": [
        "sizeByH",
        "sizeByW",
        "sizeByForcedWh"
      ]
    }
  ]
}

The profile element advertises what the image server supports. In this example it only supports the jpg image format and a few features. These features are defined in the Image API specification.

results matching ""

    No results matching ""