Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tilesUrl in getImageHostUrl #131

Open
regisrob opened this issue Mar 6, 2014 · 2 comments
Open

tilesUrl in getImageHostUrl #131

regisrob opened this issue Mar 6, 2014 · 2 comments
Milestone

Comments

@regisrob
Copy link

regisrob commented Mar 6, 2014

Known issue with info.json from e-codices:
imageView is not working because the identifier parameter is missing:
OSD error: "Error: IIIF required parameters not provided."

Solved:
The issue comes from the tilesUrl parameter provided in info.json => "tilesUrl": "http://xxxx.unifr.ch/image/iiif/", which is wrong regarding the way Mirador is processing it in iiif.js.
Fixed by dealing only with id parameter at https://github.com/IIIF/mirador/blob/master/js/src/iiif.js#L45: json.image_host = json['@id'] || '';

Does it still make sense to take tilesUrl into account to deal with "image_host" and "identifier" for OSD?

@azaroth42
Copy link
Contributor

Raphael should fix his implementation :)

R

On Thu, Mar 6, 2014 at 4:16 PM, regisrob [email protected] wrote:

Known issue with info.json from e-codices:
imageView is not working because the identifier parameter is missing:
OSD error: "Error: IIIF required parameters not provided."

Solved:
The issue comes from the tilesUrl parameter provided in info.json =>
"tilesUrl": "http://xxxx.unifr.ch/image/iiif/", which is wrong regarding
the way Mirador is processing it in iiif.js.
Fixed by dealing only with id parameter at
https://github.com/IIIF/mirador/blob/master/js/src/iiif.js#L45: json.image_host
= json['@id'] || '';

Does it still make sense to take tilesUrl into account to deal with
"image_host" and "identifier" for OSD?

Reply to this email directly or view it on GitHubhttps://github.com/ProjectMirador/mirador/issues/131
.

@regisrob
Copy link
Author

regisrob commented Mar 6, 2014

Yep :)
I'm not sure of what tilesUrl actually is. It may seem quite self-evident but I didn't find clear documentation about it. The example page of iiif tile support in OSD is vague: "...must specify the URL of the tile service with the tilesUrl attribute" http://openseadragon.github.io/examples/tilesource-iiif/

@snydman snydman added this to the Icebox milestone Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants