This PR will add a thumbnail property to each Canvas item and also add one to the base manifest.
add ThumbnailBuilder and spec
add to and modify existing specs
add some configuration for the thumbnail property
improve README
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.
Closes #34
Summary
This PR will add a
thumbnail
property to eachCanvas
item and also add one to the base manifest.ThumbnailBuilder
and specthumbnail
propertyREADME
Approach
My approach was coming from using a Hyku
4.1.0
with Hyrax3.4.1
which uses RIIIF1.7.1
as the image server and Universal Viewer3.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