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

image api 3.0: image urls in download section do not take maximum dimensions into account #1051

Open
1 of 3 tasks
nicolasfranck opened this issue Jun 25, 2024 · 0 comments
Open
1 of 3 tasks

Comments

@nicolasfranck
Copy link
Contributor

nicolasfranck commented Jun 25, 2024

UV version:

I'm submitting a:

  • bug report => please fork one of these codesandbox examples with a repro of your issue and include a link to it below
  • feature request => please use the user stories repo
  • support request => Please do not submit support requests here, use stackoverflow

Current behavior:

When you supply a version 3 IIIF manifest with a reference to a image service of version 2, that applies maximum dimensions (maxWidth and maxHeight), then these maxima are not used in the download urls for current views.

Apparently this is a problem in manifesto (IIIF-Commons/manifesto#132), that is not updated
to work with alternate location of properties maxWidth and maxHeight.

On short notice you can read canvas.externalResource.data and fetch the maxima yourself of course from the appropriate location.

Steps to reproduce:

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

No branches or pull requests

1 participant