Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

How to load Image API info.json resources into vault? #16

Answered by stephenwf
jbaiter asked this question in Q&A
Discussion options

You must be logged in to vote

Image API resources are not currently able to be loaded into Vault (although that could be something to explore).

There is another library here: https://github.com/atlas-viewer/iiif-image-api that I've been using to explore what might be possible, and what problems we could solve.

One of the main features is reducing info.json requests where possible in viewers. This avoid the need to load and store many hundreds of image descriptions.

import { ImageServiceLoader } from ['@atlas-viewer/iiif-image-api'](https://www.npmjs.com/package/@atlas-viewer/iiif-image-api);

const loader = new ImageServiceLoader();

loader.loadService({ id: '[...]/image-1/info.json '}); // Fetched remotely
loader.loa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jbaiter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants