IIIF / iiif-stories

Community repository for documenting stories and use cases related to uses of the International Image Interoperability Framework.
22 stars 0 forks source link

Drag and drop support for ARKs #98

Closed higginsr closed 7 years ago

higginsr commented 7 years ago

Description

After setting up drag and drop icons on a page, and testing them on the browser at projectmirador.org/demo it appears that an ARK does not work. So the ARK https://n2t.durham.ac.uk/ark:/32150/t2mw0892992f that resolves to https://iiif.durham.ac.uk/manifests/trifle/32150/t2/mw/08/t2mw0892992f/manifest will only work with the expanded version of the url

This one - full url - works
IIIF Drag and Drop Icon

but this one - ARK - doesn't
IIIF Drag and Drop Icon

Not sure if this is something that needs to be fixed, but certainly something to be aware of if you are using ARKs

cbeer commented 7 years ago

I suspect this is a configuration problem on n2t.durham.ac.uk. In order for drag + drop to work, the server must send the Access-Control-Allow-Origin header (iiif.durham.ac.uk does, which is why the full URL works fine).

higginsr commented 7 years ago

The curse of CORS strikes again. That hadn't occurred to me but it looks to be the case, so another long discussion coming up to get that enabled on another server. Closed in record time. Thanks