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

IIIF Manifest URLs #63

Open
dleadbetter opened this issue Jul 16, 2024 · 0 comments
Open

IIIF Manifest URLs #63

dleadbetter opened this issue Jul 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dleadbetter
Copy link
Contributor

dleadbetter commented Jul 16, 2024

Update the IIIF manifest creation to use the IIIF Cloud URLS (/resources/:uuid/iiif) instead of hard-coding the IIIF server URL. This will allow us to switch servers, or upload different content without making the manifest URLs stale. Here's what happens:

  1. User uploads a set of images to Core Data
  2. Core Data creates the media_contents records and uploads the files to IIIF Cloud
  3. In the background, IIIF Cloud converts the images to PTIF; If the files are large, this may take some time
  4. After the upload completes, Core Data generates a manifest using IIIF Cloud

The issue is that if the background job to convert the image to a PTIF has not yet completed, the URL for the source image is stored inside the manifest. This can sometimes lead to issues with Cantaloupe processing and serving the image.

Testing Note

Again for this issue, there shouldn't be any changes that are immediately obvious to the end user. We should test using Core Data that any manifest generated can be viewed as expected using:

@dleadbetter dleadbetter added the enhancement New feature or request label Jan 13, 2025
@dleadbetter dleadbetter self-assigned this Jan 13, 2025
dleadbetter added a commit that referenced this issue Jan 14, 2025
dleadbetter added a commit that referenced this issue Jan 14, 2025
dleadbetter added a commit that referenced this issue Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant