LUNA demo - IIIF Presentation API

80 views
Skip to first unread message

Sheila Rabun

unread,
Dec 8, 2016, 3:00:48 PM12/8/16
to IIIF Discuss
Hi all,

On the 23 Nov. Community Call, CTO of LUNA, Drake Zabriskie, gave a demo of the latest IIIF functionality in LUNA 7.2.5, which supports the Presentation API. A video of the demo is now available at https://youtu.be/88IkZ0LSWyI

Related links for additional info:






Best,
Sheila

Sheila Rabun

IIIF Community and Communications Officer

International Image Interoperability Framework (IIIF) Consortium

http://iiif.io



Nicole Coleman

unread,
Feb 10, 2017, 4:12:35 PM2/10/17
to IIIF Discuss
Hello all,

I have been encountering some problems opening IIIF links from LUNA instances in the Mirador viewer.
This may be an issue for Drake. But it is also worth noting that neither UV or Mirador throws an error to the user to explain why the image is not loading. I'm new to this list, so if I should be posting these issues somewhere else, please let me know.

Nicole



Example IIIF link:

XMLHttpRequest cannot load http://www.davidrumsey.com/luna/servlet/iiif/m/RUMSEY~8~1~237571~5511161/manifest. Redirect from 'http://www.davidrumsey.com/luna/servlet/iiif/m/RUMSEY~8~1~237571~5511161/manifest' to 'https://weblogin.stanford.edu/login/?RT=WJ4ZkMQVRsVmMgrHns/9TJuIKzcQleR1QxX…lruIRoIMbZSvKPozI8GkMbxH8KUT4iJhnb/XXgjhKOWHMm16A7Qq8rNNZj85x9Nv7qfq8DAA==' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://projectmirador.org' is therefore not allowed access.

jquery.js:10208 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.js:10208
app.html:1 Fetch API cannot load http://www.davidrumsey.com/luna/servlet/iiif/m/RUMSEY~8~1~237571~5511161/manifest. Redirect from 'http://www.davidrumsey.com/luna/servlet/iiif/m/RUMSEY~8~1~237571~5511161/manifest' to 'https://weblogin.stanford.edu/login/?RT=WJ4aO8mw6sNgTwl4JDCYx6qft4PbEYrQJ+m…xW5Ao9RR66y2+dKqe00THqmA17rvhJyHwNIj9LTghgvs9g+T1psFruGWen8Zp8cmku3LcC4A==' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://universalviewer.io' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. 


The IIIF link:

Fetch API cannot load http://nasaimages.lunaimaging.com/luna/servlet/iiif/m/NVA2~36~36~78865~135659/manifest. Redirect from 'http://nasaimages.lunaimaging.com/luna/servlet/iiif/m/NVA2~36~36~78865~135659/manifest' to 'https://weblogin.stanford.edu/login/?RT=WJ4bFrxMuYKyibDrGtLQq9cj4q6nKOJL/dN…KCUNAYdgUgNea6WFZOcLAitHRSJyppiEDUtO05bmWiEVTI23s9N9s46/tx45Tsv06WYxQIbA==' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://universalviewer.io' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
app.html?isHomeDomain=true&isOnlyInstance=true&manifestUri=http%3A%2F%2Fnasaimages.lunaimaging.com%…:1 Uncaught (in promise) TypeError: Failed to fetch

XMLHttpRequest cannot load http://nasaimages.lunaimaging.com/l. Redirect from 'http://nasaimages.lunaimaging.com/l' to 'https://weblogin.stanford.edu/login/?RT=WJ4brUXDjGvLLpw6hedyIZ/dB+Go7Z/SVae…NMiSDForIDFXqxz4U+laPTae+RTeeJ4H3ucHAVaeVXDZB/uDM+qEaAEOOtnuwv0yidOOd6cw==' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://projectmirador.org' is therefore not allowed access.


The IIIF link: 

The Folger links load properly in both Mirador and UV!

Tom Crane

unread,
Feb 11, 2017, 5:37:00 AM2/11/17
to IIIF Discuss
Hi Nicole,


I'm not getting the redirect that you are experiencing, from the error messages above. Are you behind a proxy server that's trying to do some authentication before letting you out to the internet? As far as I can see from the error messages, your UV/Mirador requests the manifest, but that request gets redirected to https://weblogin.stanford.edu/login/?RT=... So instead of the manifest JSON, the UV and Mirador are trying to load this page - https://weblogin.stanford.edu/login/. They can't load that page because it doesn't have a CORS header that allows access cross domain. You need to work out why, when your browser requests those first two manifests, it's getting redirected to that login page. What happens when you load the manifest directly?

Tom

Nicole Coleman

unread,
Feb 14, 2017, 6:21:02 PM2/14/17
to IIIF Discuss
Thank you, Tom, for your help. We are looking into possible proxy issues on this (Stanford) side. There have been some conflicting reports from my Stanford colleagues about success in opening outside of the Stanford proxy. 

To answer your question, I was not able to open the direct link, either. The error is:
Fetch API cannot load http://nasaimages.lunaimaging.com/luna/servlet/iiif/m/NVA2~36~36~78865~135659/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://universalviewer.io' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Reply all
Reply to author
Forward
0 new messages