Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.17 KB

uplift-viewer

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.

Installation

  1. clone this repo
  2. npm install
  3. npm watch-js (to develop) or npm build-js (to build the release scripts)

Quirks

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.