IIIF / iiif-stories

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

As an end-user, I want to easily add IIIF resources to an IIIF viewer #82

Open zimeon opened 7 years ago

zimeon commented 7 years ago

User has an IIIF viewer window open (likely multi-up, let's say Mirador). In another window, the user is browsing or using a search interface, and locates an image, book, manuscript, etc. that they want to view into Mirador. The page for that object includes an IIIF drag-and-drop icon that they drag and drop to Mirador. Mirador then adds the image/manifest to its index and displays it. The user can then repeat this at another site to add additional images, perhaps adding a set of different witnesses of a manuscript that they wish to compare.

Variation(s)

There are other ways to "add" instead of drag-and-drop. Copy-paste of a URI was also explored and can be implemented via introspection on the resource identified (e.g. looking at @context or profile).

Additional Background

This use case was first described in the 2015-09 shimathon and resulted in a drag-and-drop pattern, and experiments also with accepting paste of an IIIF resource URI. At that time a number of mechanisms were attempted that had limited cross browser support, so the end result was a rather high level of dragging a URI. Current browser support options should probably be revisited.

klokan commented 7 years ago

Drag&drop is great - and required for adding a second or third IIIF resource into a viewer - but the first image / document should be openable by simply clicking on a link!

The format of such link is now not standardised and nobody is discussing this yet, it seems... Implementation of basic "open this IIIF URL in Mirador" by constructing a link does not exist as part of the official source code of Mirador project, not sure about other viewers.

I have created #85 for this use case and https://github.com/ProjectMirador/mirador/issues/1246 for Mirador

klokan commented 7 years ago

BTW the #URL link can also add more documents into a viewer which has been already initialized and is already running.

Simply by clicking on the document links in an external website - the viewer can be instructed to add second, third etc. document into the existing user session as well as the first document. So if you have an opened Mirador instance - then you browse on Europeana, and discover additional IIIF document - an by clicking on "Open in Mirador" links, the documents are added into the research environment - so you end up with multiple documents in the already opened viewer.

Such links are a complete alternative to drag&drop then.

Try it at https://klokan.github.io/iiiflink/

Quite cool.

If you want o open the document in a new window it is still possible with the browser standard function "Open in a new window" or middle click of the mouse.

The trick is the "target" attribute of the link must be always the same (ideally name of the viewer?).

If this would widely used across websites which are publishing IIIF resources it would be damn powerful for the researchers...

But this is an extension of the really missing links to open IIIF document in a given viewer.

azaroth42 commented 7 years ago

Discussion on call: Foundational use case for import. Drag and drop as solution is not necessarily the only solution, and should not be, from other use cases

mprove commented 1 year ago

Drag’n’drop of manifest URLs or content-state URL this is fully supported by Chronoscope World