GithubHelp home page GithubHelp logo

digital-livonia / directus-iiif-endpoint Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 119 KB

Directus IIIF endpoint

JavaScript 100.00%
directus directus-extension directus-extension-endpoint iiif iiif-presentation-3

directus-iiif-endpoint's Introduction

Directus IIIF endpoint

This is work in progress. Currently extension extension adds IIIF presentation API support to Directus media files.

URL structure:

  • example.org/iiif/manifest/file/ - returnes simple presentation API
  • example.org/iiif/manifest/:collection/:id - returns the collection item

Requirements:

  • Currently extension relies on IIIF_settings table where configuration for collections is set

TODO:

  • Document IIIF_settings table
  • Auto generate IIIF_settings table during installations

There has been some discussion about the IIIF support for Directus: directus/directus#15495

Versions

1.0.1

  • Support for asset author

1.0.2

  • Thumbnail url and size update

1.0.3

  • Annotations support

directus-iiif-endpoint's People

Contributors

hembopagi avatar liisit avatar

Stargazers

 avatar

Watchers

 avatar

directus-iiif-endpoint's Issues

Annotations support

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.