Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: display static images #61

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sourcefilter
Copy link
Contributor

@sourcefilter sourcefilter commented Dec 13, 2024

Our current version of universal viewer fails to render images that are included as a simple file link, instead of a iiif (ie, cantaloupe) service. This is fixed in UV 4.0.25, but other of our options break. This PR renders these images as a simple tag, instead of using UV.

Also fixes an issue where collection documents are misidentified as Images. We were looking for iiif_manifest.type: "Collection" when the manifest had iiif_manifest.@type: "sc:Collection". This wasn't an issue previously because images and collections were both passed on to UV.

@sourcefilter sourcefilter changed the title feat: display external images feat: display static images Dec 16, 2024
@sourcefilter sourcefilter force-pushed the stage/NOP-21/external-images branch 4 times, most recently from 36044cb to a7777b7 Compare December 17, 2024 17:57
Our current version of universal viewer fails to render images that are included as a simple file link, instead of a iiif service. This is fixed in UV 4.0.25, but other of our options break. This PR renders these images as a simple <img> tag, instead of using UV.
@sourcefilter sourcefilter force-pushed the stage/NOP-21/external-images branch 14 times, most recently from e8adab9 to 4cb2f5e Compare December 20, 2024 19:23
@sourcefilter sourcefilter force-pushed the stage/NOP-21/external-images branch from 4cb2f5e to ed91da5 Compare December 20, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant