Digital-Livonia/directus-iiif-endpoint

Annotations support

HemboPagi opened this issue · 0 comments

in code the annotation section id needs to get annotation file link. I tneeds to correspond to the image file. Lets assume that the base names (filename_download) are the same. For example: 001_0001.jpg 001_0001.json and 001_0001.xml
annotations: [ { id:https://db.dl.tlu.ee/assets/783d563b-a096-42a8-ab09-36e991cac890.json#${index + 1}, type: "AnnotationPage", }, ],

test content:
https://db.dl.tlu.ee/iiif/manifest/magistraat/26 and in local
http://localhost/iiif/manifest/magistraat/26

New directus dump