universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

Presentation v3 manifests should not require a separate thumbnail property on a canvas to display a thumbnail

Open jronallo opened this issue 7 years ago • 2 comments

UV version: Unknown. What version is http://universalviewer.io/examples running?

I'm submitting a:

  • [x] bug report
  • [ ] feature request => please use the user stories repo
  • [ ] support request => Please do not submit support requests here, use stackoverflow

Current behavior:

UV will not show a thumbnail in the left side panel for a v3 manifest unless the thumbnail property is populated for a canvas. Even if the canvas has an image annotation with an image service, UV will not show a thumbnail for the canvas.

Expected behavior:

This is something of a regression in behavior. UV should have some algorithm for determining an appropriate thumbnail to display. Here's a quick shot at what this might look like:

First look for a thumbnail property. If there is a thumbnail property then look for a service within. If there is an image service on the thumbnail use the service. If there is not an image service on the thumbnail use the id. If there is no thumbnail property then look for the first image annotation. If the resource has an image service use that. Otherwise fallback to the static image annotation.

Steps to reproduce: This manifest works: http://universalviewer.io/examples/#?manifest=https%3A%2F%2Fd.lib.ncsu.edu%2Fcollections%2Fcatalog%2Fnubian-message-2003-04-01%2Fmanifest%3Fv3%3Dtrue

If you remove the thumbnail properties. it fails to show thumbnails in the side pane.

jronallo avatar May 15 '18 00:05 jronallo

@jronallo related: https://github.com/UniversalViewer/universalviewer/issues/102

tomcrane avatar May 15 '18 07:05 tomcrane

Hi,

Please take a look at - https://github.com/IIIF-Commons/manifesto/issues/24

rosetta-development avatar Jan 06 '21 14:01 rosetta-development

All issues will be triaged for further investigation or closure by the 28 September 2023. If your issue is still relevant and would like for it be investigated further please comment by 14 September 2023.

LlGC-szw avatar Aug 25 '23 11:08 LlGC-szw

@edsilv, any idea if this is still an issue? I'll mark as ACTIVE until we can confirm.

demiankatz avatar Nov 15 '23 16:11 demiankatz

I think this issue was resolved with the work to support IIIF Image service?

kirschbombe avatar Mar 12 '24 21:03 kirschbombe

Does anyone have an example manifest without thumbnail properties that we can test with to confirm?

demiankatz avatar Mar 13 '24 15:03 demiankatz

Here is a cookbook recipe for a simple book manifest that has no thumbnail properties: https://iiif.io/api/cookbook/recipe/0009-book-1/. This generates thumbnails in UV 4.0.25: https://www.universalviewer.dev/#?xywh=-1565%2C-257%2C6333%2C5125&iiifManifestId=https%3A%2F%2Fiiif.io%2Fapi%2Fcookbook%2Frecipe%2F0009-book-1%2Fmanifest.json I think it was fixed with #817

kirschbombe avatar Mar 13 '24 15:03 kirschbombe

Very helpful, @kirschbombe! Thank you! I'll close this as resolved.

demiankatz avatar Mar 13 '24 15:03 demiankatz