samvera / iiif_manifest

Other
10 stars 10 forks source link

Add thumbnail property #79

Closed kirkkwang closed 1 year ago

kirkkwang commented 1 year ago

Closes #34

Summary

This PR will add a thumbnail property to each Canvas item and also add one to the base manifest.

Approach

My approach was coming from using a Hyku 4.1.0 with Hyrax 3.4.1 which uses RIIIF 1.7.1 as the image server and Universal Viewer 3.1.4. I followed the manifests from The University of Tennessee, Knoxville as an example. I am using a scaled down version of the IIIF image itself as the thumbnail instead of a pre-generated image for now. Also, since UV works fine with displaying thumbnails with a version 2 manifest, the focus was on version 3 to address this issue: https://github.com/UniversalViewer/universalviewer/issues/102. I did my best to follow the existing pattern.

Screenshots

image image