A IIIF viewer scoped for the DLXS Uplift Project, and all the quirks that implies.
This is a Svelte application, using Shoelace components and wrapping OpenSeadragon.
While there are some local styles, uplift-viewer
expects that
the U-M Library Design System and
uplift styles and
their dependencies have been loaded.
- clone this repo
npm install
npm watch-js
(to develop) ornpm build-js
(to build the release scripts)
uplift-viewer
supports showing plain text next to the Seadragon viewer,
but this requires constructing a non-IIIF request to DLXS (SeadragonViewer.svelte#fetchPlainText
)
and then adapting the UI whether there's actual text or something that looks
like a blank page.
We have some collections in DLXS that cannot support the tiled viewing
experience or where images are not fetched via IIIF.
ImageViewer.svelte#getInfoUrl
has some logic for avoiding
IIIF in these scenarios.