diff --git a/build.properties b/build.properties index b4fc623f..73fc8d45 100644 --- a/build.properties +++ b/build.properties @@ -6,7 +6,7 @@ PROJECT: openseadragon BUILD_MAJOR: 0 BUILD_MINOR: 9 -BUILD_ID: 102 +BUILD_ID: 107 BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} diff --git a/openseadragon.js b/openseadragon.js index a15c5860..4164956d 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -1,7 +1,7 @@ /*globals OpenSeadragon */ /** - * @version OpenSeadragon 0.9.102 + * @version OpenSeadragon 0.9.107 * * @fileOverview *
+ The following example info.json and info.xml documents are non-normative and include + a property image_host which allows the info.json and info.xml + to be hosted from a different server than the images are served from. +
++ Below is a sample IIIF info file formatted as XML. +
++<?xml version="1.0" encoding="UTF-8"?> +<info xmlns="http://library.stanford.edu/iiif/image-api/ns/"> + <identifier>pudl0001/4609321/s42/00000004</identifier> + <width>2717</width> + <height>3600</height> + <scale_factors> + <scale_factor>1</scale_factor> + <scale_factor>2</scale_factor> + <scale_factor>3</scale_factor> + <scale_factor>4</scale_factor> + <scale_factor>5</scale_factor> + </scale_factors> + <tile_width>256</tile_width> + <tile_height>256</tile_height> + <formats> + <format>jpg</format> + <format>png</format> + </formats> + <qualities> + <quality>native</quality> + <quality>bitonal</quality> + <quality>grey</quality> + <quality>color</quality> + </qualities> + <profile>http://library.stanford.edu/iiif/image-api/compliance.html#level1</profile> + <image_host>http://img.princeton.edu/loris</image_host> +</info>+
+ And the equivalent sample IIIF info file formatted as JSON. +
++{ + "identifier" : "pudl0001/4609321/s42/00000003", + "width": 2694, + "height": 3600, + "scale_factors" : [1, 2, 3, 4, 5], + "tile_width" : 256, + "tile_height" : 256, + "formats" : [ "jpg", "png" ], + "qualities" : ["native", "bitonal", "grey", "color"], + "profile" : "http://library.stanford.edu/iiif/image-api/compliance.html#level1", + "image_host": "http://img.princeton.edu/loris" +}+
+OpenSeadragon({ + ... + tileSources: [ + "/openseadragon/examples/images/loris/pudl0001/4609321/s42/00000003/info.json", + "/openseadragon/examples/images/loris/pudl0001/4609321/s42/00000004/info.xml" + ], + ... +});+