{"action":"created","issue":{"url":"https://api.github.com/repos/openseadragon/openseadragon/issues/586","labels_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/586/labels{/name}","comments_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/586/comments","events_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/586/events","html_url":"https://github.com/openseadragon/openseadragon/pull/586","id":56576384,"number":586,"title":"Correct IIIF tile source to use canonical syntax","user":{"login":"jpstroop","id":999701,"avatar_url":"https://avatars.githubusercontent.com/u/999701?v=3","gravatar_id":"","url":"https://api.github.com/users/jpstroop","html_url":"https://github.com/jpstroop","followers_url":"https://api.github.com/users/jpstroop/followers","following_url":"https://api.github.com/users/jpstroop/following{/other_user}","gists_url":"https://api.github.com/users/jpstroop/gists{/gist_id}","starred_url":"https://api.github.com/users/jpstroop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpstroop/subscriptions","organizations_url":"https://api.github.com/users/jpstroop/orgs","repos_url":"https://api.github.com/users/jpstroop/repos","events_url":"https://api.github.com/users/jpstroop/events{/privacy}","received_events_url":"https://api.github.com/users/jpstroop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-04T19:38:32Z","updated_at":"2015-02-05T17:09:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openseadragon/openseadragon/pulls/586","html_url":"https://github.com/openseadragon/openseadragon/pull/586","diff_url":"https://github.com/openseadragon/openseadragon/pull/586.diff","patch_url":"https://github.com/openseadragon/openseadragon/pull/586.patch"},"body":"The IIIF canonical syntax is defined here: http://iiif.io/api/image/2.0/#canonical-uri-syntax. It was added in the 2.0 release of the spec in order to facilitate the creation of static image collections using a common syntax that clients would expect and servers could expose using only a file system.\r\n\r\nOpenSeadragon does not presently use `full` when requesting the whole image (at lower levels) from IIIF 2.0-compliant servers. Instead it uses `0,0,<full_width>,<full_height>`. Functionally these are the same, but it breaks static collections and optimized servers.\r\n\r\nSpecifically, `this.tile_width` and `this.tile_height` ([here](https://github.com/jpstroop/openseadragon/compare/openseadragon:master...iiif_use_full#diff-8687fada024051e6abce230abcacc2aaL241)) were not defined for IIIF 2.0 requests, and so the `else` block was always executed.\r\n\r\n/cc @azaroth42 "},"comment":{"url":"https://api.github.com/repos/openseadragon/openseadragon/issues/comments/73084989","html_url":"https://github.com/openseadragon/openseadragon/pull/586#issuecomment-73084989","issue_url":"https://api.github.com/repos/openseadragon/openseadragon/issues/586","id":73084989,"user":{"login":"iangilman","id":338989,"avatar_url":"https://avatars.githubusercontent.com/u/338989?v=3","gravatar_id":"","url":"https://api.github.com/users/iangilman","html_url":"https://github.com/iangilman","followers_url":"https://api.github.com/users/iangilman/followers","following_url":"https://api.github.com/users/iangilman/following{/other_user}","gists_url":"https://api.github.com/users/iangilman/gists{/gist_id}","starred_url":"https://api.github.com/users/iangilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iangilman/subscriptions","organizations_url":"https://api.github.com/users/iangilman/orgs","repos_url":"https://api.github.com/users/iangilman/repos","events_url":"https://api.github.com/users/iangilman/events{/privacy}","received_events_url":"https://api.github.com/users/iangilman/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T17:09:32Z","updated_at":"2015-02-05T17:09:32Z","body":"Thanks! "}}