@knaw-huc/osd-iiif-viewer 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -325,7 +325,8 @@ function useViewerControls(fullscreenRef) {
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
function findThumbnail(vault, canvas, height = 120) {
|
|
328
|
-
|
|
328
|
+
const id = getImageServiceId(vault, canvas);
|
|
329
|
+
return id ? `${id}/full/,${height}/0/default.jpg` : null;
|
|
329
330
|
}
|
|
330
331
|
export {
|
|
331
332
|
Overlay,
|