IIIF / cookbook-recipes

For working on the recipes
https://iiif.io/api/cookbook/index.html
37 stars 32 forks source link

Image in annotation #377

Closed lpoujade closed 1 year ago

lpoujade commented 1 year ago

Image in annotation

link to the index.md of the recipe

Use case

Provides, via an annotation, an image which add details or show a different view about a particular feature/area in the main content.


After a short discussion on Slack I was told I can propose an example of a manifest with an annotation (from the annotations property, not those from items) containing an image, so here is my proposal. It works nearly out-of-the box in Annona, so I can also make a more complex example

My example is similar to this one, but I'm not sure what to understand from this :

In order to make possible a link between the IIIF resource and an external web resource, the pertinent Annotation must have at least a body that is a Specific Resource whose source property contains the appropriate URI as its value.

as it is not what I had understood from the web anno spec part on external web resources, where I only read about the id which should resolve to something. Maybe that is a because of an older IIIF/web anno spec ?

Also I'm not sure what to put in the restriction part, I could use some tips here ! Thank in advance :)

glenrobson commented 1 year ago

Cookbook group: your annotation in:

https://github.com/lpoujade/cookbook-recipes/blob/4ae7e3119cc5c41d2760783cefc00c71a28e3c06/recipe/377-image-in-annotation/manifest.json

Looks good. It would be great if you can join us at a cookbook call so we can help you through the process of getting the recipe published. See IIIF Calendar for the next meeting.

lpoujade commented 1 year ago

Thank, I will ll try to be present !