Provide thumbnail for a given MyCoRe-Object

Description

We need a way to provide thumbnails for a given MyCoRe-Object (mcrid).
Therefore we should invest into the idea to enhance the IIIF-API with a special image identifier
(e.g. "thumbnail:mir_mods_00001234", which returns a high resolution thumbnail that can be further modified by other IIIF-parameters.

There may be multiple ways to resolve the thumbnail, like
a) from a derivate with classification "derivate_types:thumbnail" (or "derivate_types:cover" in Rostock)
b) the maindoc/first image in a viewer derivate
c) the first-page of a PDF-Document in fulltext derivate

Therefore a flexible and extendable solution should be implemented
and some kind of caching may be necessary.

Check and deprecate currently implemented solutions like ThumbnailServlet and REST-API v2 endpoints:
/api/v2/objects/{mcrid}/thumb.{ext}
/api/v2/objects/{mcrid}/thumb-{size}.{ext}

Environment

None

Assignee

Sebastian Hofmann

Reporter

Robert Stephan

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Priority

Medium
Configure