Open bencomp opened 6 years ago
How do other IIIF clients like Mirador or UV behave when they encounter these kinds of images?
Mirador supports this in the newest versions (2.5+), but only in single-page view, UV does not support it at all.
@bencomp do you have a link to a manifest we can use to reproduce this? Thanks!
I have a manifest in which many canvases contain partial IIIF Image resources, expressed as
oa:SpecificResource
. For example:This follows the Presentation API version 2.1, except for the use of
default
instead offull
for Mirador (Projectmirador/mirador#1467).Trying to import the manifest that has this resource fails because FromThePage expects a
service
object directly underresource
: https://github.com/benwbrum/fromthepage/blob/a58096fd0c15a64169340288df327962a0978d9c/app/models/sc_manifest.rb#L115.This means that other image types, like images that are not served via the IIIF Image API, are not supported either.
It would be great if FromThePage could check for the type of image resource before expecting an Image API image.