applied iangilman\'s patch

This commit is contained in:
Jon Stroop 2013-09-30 19:42:16 -04:00
parent 00870530af
commit 8750300612
3 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{ {
"identifier": "pudl0071/4055459/01/00000030", "identifier": "pudl0001/4609321/s42/00000001",
"width": 2584, "width": 2584,
"height": 3600, "height": 3600,
"scale_factors": [ "scale_factors": [
@ -22,5 +22,5 @@
"color" "color"
], ],
"profile": "http://library.stanford.edu/iiif/image-api/compliance.html#level1", "profile": "http://library.stanford.edu/iiif/image-api/compliance.html#level1",
"image_host": "http://img.princeton.edu/loris "image_host": "http://lorisimg.princeton.edu/loris"
} }

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><info xmlns="http://library.stanford.edu/iiif/image-api/ns/"><identifier>pudl0071/4055459/01/00000030</identifier><width>2584</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> <?xml version="1.0" encoding="UTF-8"?><info xmlns="http://library.stanford.edu/iiif/image-api/ns/"><identifier>pudl0001/4609321/s42/00000001</identifier><width>2584</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://lorisimg.princeton.edu/loris</image_host></info>

View File

@ -65,11 +65,19 @@
testOpen('testpattern.xml'); testOpen('testpattern.xml');
}); });
// ----------
asyncTest('IIIF 1.0 JSON', function() {
testOpen('iiif1_0.json');
});
// ----------
asyncTest('IIIF 1.0 XML', function() {
testOpen('iiif1_0.xml');
});
// ---------- // ----------
asyncTest('IIIF 1.1 JSON', function() { asyncTest('IIIF 1.1 JSON', function() {
testOpen('iiif1_1.json'); testOpen('iiif1_1.json');
}); });
})(); })();