mirador icon indicating copy to clipboard operation
mirador copied to clipboard

Mirador Demo manifest from YCBA no longer works

Open hadro opened this issue 1 year ago • 5 comments

  • I am the author or maintainer of this manifest: No
  • URL: https://manifests.britishart.yale.edu/Osbornfa1
  • Manifest hosting institution: Yale Center for British Art

Observed behavior

  • Description: The Osbornfa1 was a demo manifest that Mirador pre-loaded to show off multispectral annotation capabilities. However, that manifest URL no longer returns any data.

The underlying item is still available via this new manifest URL: https://collections.library.yale.edu/manifests/2077096

However there are no multispectral annotation referenced via the new manifest URL.

I leave it to the Mirador community to decide if the manifest URL should be updated or removed, but if you all would like help finding a new multispectral annotation example the IIIF-C staff would be happy to help find an example if you like!

hadro avatar Jun 20 '23 14:06 hadro

Thanks for spotting that and reporting it, @hadro. We discussed it in the most recent community call and the consensus was to update it with a new example, to keep the variety of viewing experiences intact in that sample set.

I think I found one from the Leiden Collection that might work: https://www.theleidencollection.com/iiif/presentation/v2/2469/manifest/ You'll see there was a whole other work on the canvas before the final painting, pretty cool. What do you think? Would this recreate the experience Yale's manifest originally provided?

enriquediaz avatar Jun 23 '23 19:06 enriquediaz

That's a really neat example!

The original Osbfornfa1 manifest used Choice to overlay the spectra as layers, while that example presents them as separate canvases.

This example from the Library of Congress is closer to what the previous example was: https://dvp.prtd.app/hamilton/manifest.json

I could see arguments for going with either as an example.

The LC example is set up more closely to what actual researchers and image scientists would want to do with the images in a tool like Mirador (at least according to my understanding).

But at least two reasons I could think of to use the Leiden Collection one over this one:

  • It's a custom proof of concept manifest from LC, rather than on their production site (and so could go away just as the YCBA one did)
  • It's less obvious how to get at the interesting bits, the annotations and the spectra layers (you have to dig into the sidebar options before you really get the gist of the example)

Sorry if that's not helpful in deciding! Would love input from others on which is a more appropriate replacement.

hadro avatar Jun 23 '23 19:06 hadro

Also, fwiw, here's a Mirador workspace export snippet that allows you to import the two manifests into Mirador side-by-side:

{
  "catalog": [
    {
      "manifestId": "https://dvp.prtd.app/hamilton/manifest.json"
    },
    {
      "manifestId": "https://www.theleidencollection.com/iiif/presentation/v2/2469/manifest/"
    }
  ],
  "companionWindows": {
    "cw-645cf18d-269d-40f8-ad77-b8e892895126": {
      "content": "canvas",
      "default": true,
      "id": "cw-645cf18d-269d-40f8-ad77-b8e892895126",
      "position": "left",
      "variant": "item"
    },
    "cw-07740957-734b-4183-8da5-db2204d70767": {
      "content": "thumbnailNavigation",
      "default": true,
      "id": "cw-07740957-734b-4183-8da5-db2204d70767",
      "position": "off"
    },
    "cw-0f8302f7-86fe-4de8-b67f-256a1963c0eb": {
      "content": "layers",
      "default": true,
      "id": "cw-0f8302f7-86fe-4de8-b67f-256a1963c0eb",
      "position": "left"
    },
    "cw-b8bb624a-88c3-45c2-897a-6c75082af637": {
      "content": "thumbnailNavigation",
      "default": true,
      "id": "cw-b8bb624a-88c3-45c2-897a-6c75082af637",
      "position": "off"
    }
  },
  "config": {
    "state": {},
    "canvasNavigation": {
      "height": 50,
      "width": 50
    },
    "selectedTheme": "light",
    "themes": {
      "dark": {
        "palette": {
          "type": "dark",
          "primary": {
            "main": "#4db6ac"
          },
          "secondary": {
            "main": "#4db6ac"
          },
          "shades": {
            "dark": "#000000",
            "main": "#424242",
            "light": "#616161"
          }
        }
      },
      "light": {
        "palette": {
          "type": "light"
        }
      }
    },
    "theme": {
      "palette": {
        "type": "light",
        "primary": {
          "main": "#1967d2"
        },
        "secondary": {
          "main": "#1967d2"
        },
        "shades": {
          "dark": "#eeeeee",
          "main": "#ffffff",
          "light": "#f5f5f5"
        },
        "error": {
          "main": "#b00020"
        },
        "notification": {
          "main": "#ffa224"
        },
        "hitCounter": {
          "default": "#bdbdbd"
        },
        "highlights": {
          "primary": "#ffff00",
          "secondary": "#00BFFF"
        },
        "section_divider": "rgba(0, 0, 0, 0.25)",
        "annotations": {
          "hidden": {
            "globalAlpha": 0
          },
          "default": {
            "strokeStyle": "#00BFFF",
            "globalAlpha": 1
          },
          "hovered": {
            "strokeStyle": "#BF00FF",
            "globalAlpha": 1
          },
          "selected": {
            "strokeStyle": "#ffff00",
            "globalAlpha": 1
          }
        },
        "search": {
          "default": {
            "fillStyle": "#00BFFF",
            "globalAlpha": 0.3
          },
          "hovered": {
            "fillStyle": "#00FFFF",
            "globalAlpha": 0.3
          },
          "selected": {
            "fillStyle": "#ffff00",
            "globalAlpha": 0.3
          }
        }
      },
      "typography": {
        "body1": {
          "fontSize": "1rem",
          "letterSpacing": "0em",
          "lineHeight": "1.6em"
        },
        "body2": {
          "fontSize": "0.878rem",
          "letterSpacing": "0.015em",
          "lineHeight": "1.6em"
        },
        "button": {
          "fontSize": "0.878rem",
          "letterSpacing": "0.09em",
          "lineHeight": "2.25rem",
          "textTransform": "uppercase"
        },
        "caption": {
          "fontSize": "0.772rem",
          "letterSpacing": "0.033em",
          "lineHeight": "1.6rem"
        },
        "body1Next": {
          "fontSize": "1rem",
          "letterSpacing": "0em",
          "lineHeight": "1.6em"
        },
        "body2Next": {
          "fontSize": "0.878rem",
          "letterSpacing": "0.015em",
          "lineHeight": "1.6em"
        },
        "buttonNext": {
          "fontSize": "0.878rem",
          "letterSpacing": "0.09em",
          "lineHeight": "2.25rem"
        },
        "captionNext": {
          "fontSize": "0.772rem",
          "letterSpacing": "0.33em",
          "lineHeight": "1.6rem"
        },
        "overline": {
          "fontSize": "0.678rem",
          "fontWeight": 500,
          "letterSpacing": "0.166em",
          "lineHeight": "2em",
          "textTransform": "uppercase"
        },
        "h1": {
          "fontSize": "2.822rem",
          "letterSpacing": "-0.015em",
          "lineHeight": "1.2em"
        },
        "h2": {
          "fontSize": "1.575rem",
          "letterSpacing": "0em",
          "lineHeight": "1.33em"
        },
        "h3": {
          "fontSize": "1.383rem",
          "fontWeight": 300,
          "letterSpacing": "0em",
          "lineHeight": "1.33em"
        },
        "h4": {
          "fontSize": "1.215rem",
          "letterSpacing": "0.007em",
          "lineHeight": "1.45em"
        },
        "h5": {
          "fontSize": "1.138rem",
          "letterSpacing": "0.005em",
          "lineHeight": "1.55em"
        },
        "h6": {
          "fontSize": "1.067rem",
          "fontWeight": 400,
          "letterSpacing": "0.01em",
          "lineHeight": "1.6em"
        },
        "subtitle1": {
          "fontSize": "0.937rem",
          "letterSpacing": "0.015em",
          "lineHeight": "1.6em",
          "fontWeight": 300
        },
        "subtitle2": {
          "fontSize": "0.878rem",
          "fontWeight": 500,
          "letterSpacing": "0.02em",
          "lineHeight": "1.75em"
        },
        "useNextVariants": true
      },
      "overrides": {
        "MuiListSubheader": {
          "root": {
            "&[role=\"presentation\"]:focus": {
              "outline": 0
            }
          }
        },
        "MuiTooltip": {
          "tooltipPlacementLeft": {
            "@media (min-width:600px)": {
              "margin": 0
            }
          },
          "tooltipPlacementRight": {
            "@media (min-width:600px)": {
              "margin": 0
            }
          },
          "tooltipPlacementTop": {
            "@media (min-width:600px)": {
              "margin": 0
            }
          },
          "tooltipPlacementBottom": {
            "@media (min-width:600px)": {
              "margin": 0
            }
          }
        },
        "MuiTouchRipple": {
          "childPulsate": {
            "animation": "none"
          },
          "rippleVisible": {
            "animation": "none"
          }
        }
      },
      "props": {
        "MuiButtonBase": {
          "disableTouchRipple": true
        },
        "MuiLink": {
          "underline": "always"
        }
      }
    },
    "language": "en",
    "availableLanguages": {
      "ar": "العربية",
      "de": "Deutsch",
      "en": "English",
      "fr": "Français",
      "ja": "日本語",
      "kr": "한국어",
      "lt": "Lietuvių",
      "nl": "Nederlands",
      "nb-NO": "Norwegian Bokmål",
      "pl": "Polski",
      "pt-BR": "Português do Brasil",
      "vi": "Tiếng Việt",
      "zh-CN": "中文(简体)",
      "zh-TW": "中文(繁體)",
      "it": "Italiano",
      "sr": "Српски",
      "sv": "Svenska"
    },
    "annotations": {
      "htmlSanitizationRuleSet": "iiif",
      "filteredMotivations": [
        "oa:commenting",
        "oa:tagging",
        "sc:painting",
        "commenting",
        "tagging"
      ]
    },
    "createGenerateClassNameOptions": {
      "productionPrefix": "mirador"
    },
    "requests": {
      "preprocessors": [],
      "postprocessors": []
    },
    "translations": {},
    "window": {
      "allowClose": true,
      "allowFullscreen": false,
      "allowMaximize": true,
      "allowTopMenuButton": true,
      "allowWindowSideBar": true,
      "authNewWindowCenter": "parent",
      "sideBarPanel": "info",
      "defaultSidebarPanelHeight": 201,
      "defaultSidebarPanelWidth": 235,
      "defaultView": "single",
      "forceDrawAnnotations": false,
      "hideWindowTitle": false,
      "highlightAllAnnotations": false,
      "showLocalePicker": false,
      "sideBarOpen": false,
      "switchCanvasOnSearch": true,
      "panels": {
        "info": true,
        "attribution": true,
        "canvas": true,
        "annotations": true,
        "search": true,
        "layers": true
      },
      "views": [
        {
          "key": "single",
          "behaviors": [
            "individuals"
          ]
        },
        {
          "key": "book",
          "behaviors": [
            "paged"
          ]
        },
        {
          "key": "scroll",
          "behaviors": [
            "continuous"
          ]
        },
        {
          "key": "gallery"
        }
      ],
      "elastic": {
        "height": 400,
        "width": 480
      }
    },
    "windows": [
      {
        "manifestId": "https://www.theleidencollection.com/iiif/presentation/v2/2469/manifest/"
      }
    ],
    "thumbnails": {
      "preferredFormats": [
        "jpg",
        "png",
        "webp",
        "tif"
      ]
    },
    "thumbnailNavigation": {
      "defaultPosition": "off",
      "displaySettings": true,
      "height": 130,
      "width": 100
    },
    "workspace": {
      "draggingEnabled": true,
      "allowNewWindows": true,
      "id": "c8a4f481-df88-4f69-be73-04b2dddd9215",
      "isWorkspaceAddVisible": false,
      "exposeModeOn": false,
      "height": 5000,
      "showZoomControls": false,
      "type": "mosaic",
      "viewportPosition": {
        "x": 0,
        "y": 0
      },
      "width": 5000
    },
    "workspaceControlPanel": {
      "enabled": true
    },
    "galleryView": {
      "height": 120,
      "width": null
    },
    "osdConfig": {
      "alwaysBlend": false,
      "blendTime": 0.1,
      "preserveImageSizeOnResize": true,
      "preserveViewport": true,
      "showNavigationControl": false
    },
    "export": {
      "catalog": true,
      "companionWindows": true,
      "config": true,
      "elasticLayout": true,
      "layers": true,
      "manifests": {},
      "viewers": true,
      "windows": true,
      "workspace": true
    },
    "audioOptions": {
      "controls": true,
      "crossOrigin": "anonymous"
    },
    "videoOptions": {
      "controls": true,
      "crossOrigin": "anonymous"
    },
    "auth": {
      "serviceProfiles": [
        {
          "profile": "http://iiif.io/api/auth/1/external",
          "external": true
        },
        {
          "profile": "http://iiif.io/api/auth/1/kiosk",
          "kiosk": true
        },
        {
          "profile": "http://iiif.io/api/auth/1/clickthrough"
        },
        {
          "profile": "http://iiif.io/api/auth/1/login"
        },
        {
          "profile": "http://iiif.io/api/auth/0/external",
          "external": true
        },
        {
          "profile": "http://iiif.io/api/auth/0/kiosk",
          "kiosk": true
        },
        {
          "profile": "http://iiif.io/api/auth/0/clickthrough"
        },
        {
          "profile": "http://iiif.io/api/auth/0/login"
        }
      ]
    },
    "id": "mirador"
  },
  "elasticLayout": {
    "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c": {
      "windowId": "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c",
      "height": 400,
      "width": 480,
      "x": 200,
      "y": 200
    },
    "window-6069818c-23d6-488d-b964-5bd7eb303638": {
      "windowId": "window-6069818c-23d6-488d-b964-5bd7eb303638",
      "height": 400,
      "width": 480,
      "x": 230,
      "y": 250
    }
  },
  "layers": {
    "window-6069818c-23d6-488d-b964-5bd7eb303638": {
      "https://dvp.prtd.app/hamilton/canvas/p1.json": {
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_TS_Blue/full/862,1024/0/default.png": {
          "visibility": true,
          "index": 0,
          "opacity": 0.52
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_PSC/full/,800/0/default.jpg": {
          "opacity": 1,
          "index": 1
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_001_F/full/,800/0/default.jpg": {
          "index": 2
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_002_F/full/,800/0/default.jpg": {
          "index": 3
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_003_F/full/,800/0/default.jpg": {
          "index": 4
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_004_F/full/,800/0/default.jpg": {
          "index": 5
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_005_F/full/,800/0/default.jpg": {
          "index": 6
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_006_F/full/,800/0/default.jpg": {
          "index": 7
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_007_F/full/,800/0/default.jpg": {
          "index": 8
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_008_F/full/,800/0/default.jpg": {
          "index": 9
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_009_F/full/,800/0/default.jpg": {
          "index": 10
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_010_F/full/,800/0/default.jpg": {
          "index": 11
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_011_F/full/,800/0/default.jpg": {
          "index": 12
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_012_F/full/,800/0/default.jpg": {
          "index": 13
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_013_F/full/,800/0/default.jpg": {
          "index": 14
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_014_F/full/,800/0/default.jpg": {
          "index": 15
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_015_F/full/,800/0/default.jpg": {
          "index": 16
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_016_F/full/,800/0/default.jpg": {
          "index": 17
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_017_F/full/,800/0/default.jpg": {
          "index": 18
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_PC17/full/739,521/0/default.jpg": {
          "index": 19
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_PC17-2/full/739,521/0/default.jpg": {
          "index": 20
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_PCA_RGB-1-3-5/full/739,521/0/default.jpg": {
          "index": 21
        },
        "https://images.prtd.app/iiif/2/hamilton%2fHL_524_1r_00_PCA_RGB-1-3-5_gradi/full/739,521/0/default.jpg": {
          "index": 22
        }
      }
    }
  },
  "viewers": {
    "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c": {
      "flip": false,
      "rotation": 0,
      "x": 2368,
      "y": 3755,
      "zoom": 0.00022257383966244724
    },
    "window-6069818c-23d6-488d-b964-5bd7eb303638": {
      "flip": false,
      "rotation": 0,
      "x": 1956,
      "y": 2324,
      "zoom": 0.0003404213599424824
    }
  },
  "windows": {
    "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c": {
      "canvasId": "http://8e70498d-4cf8-f7dd-c5d7-093c7d54f1e5",
      "collectionIndex": 0,
      "companionAreaOpen": true,
      "companionWindowIds": [
        "cw-645cf18d-269d-40f8-ad77-b8e892895126",
        "cw-07740957-734b-4183-8da5-db2204d70767"
      ],
      "draggingEnabled": true,
      "highlightAllAnnotations": false,
      "id": "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c",
      "manifestId": "https://www.theleidencollection.com/iiif/presentation/v2/2469/manifest/",
      "maximized": false,
      "rangeId": null,
      "rotation": null,
      "selectedAnnotations": {},
      "sideBarOpen": true,
      "sideBarPanel": "info",
      "thumbnailNavigationId": "cw-07740957-734b-4183-8da5-db2204d70767",
      "visibleCanvases": [
        "http://8e70498d-4cf8-f7dd-c5d7-093c7d54f1e5"
      ]
    },
    "window-6069818c-23d6-488d-b964-5bd7eb303638": {
      "canvasId": "https://dvp.prtd.app/hamilton/canvas/p1.json",
      "collectionIndex": 0,
      "companionAreaOpen": true,
      "companionWindowIds": [
        "cw-0f8302f7-86fe-4de8-b67f-256a1963c0eb",
        "cw-b8bb624a-88c3-45c2-897a-6c75082af637"
      ],
      "draggingEnabled": true,
      "highlightAllAnnotations": false,
      "id": "window-6069818c-23d6-488d-b964-5bd7eb303638",
      "manifestId": "https://dvp.prtd.app/hamilton/manifest.json",
      "maximized": false,
      "rangeId": null,
      "rotation": null,
      "selectedAnnotations": {},
      "sideBarOpen": true,
      "sideBarPanel": "info",
      "thumbnailNavigationId": "cw-b8bb624a-88c3-45c2-897a-6c75082af637",
      "visibleCanvases": [
        "https://dvp.prtd.app/hamilton/canvas/p1.json"
      ],
      "hoveredAnnotationIds": []
    }
  },
  "workspace": {
    "draggingEnabled": true,
    "allowNewWindows": true,
    "id": "de32d02b-c494-47ce-a67a-7e8a05e2a705",
    "isWorkspaceAddVisible": false,
    "exposeModeOn": false,
    "height": 5000,
    "showZoomControls": false,
    "type": "mosaic",
    "viewportPosition": {
      "x": 0,
      "y": 0
    },
    "width": 5000,
    "windowIds": [
      "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c",
      "window-6069818c-23d6-488d-b964-5bd7eb303638"
    ],
    "focusedWindowId": "window-6069818c-23d6-488d-b964-5bd7eb303638",
    "layout": {
      "direction": "row",
      "first": "window-717ee8bb-b4ab-4b8d-930e-966c5e055d1c",
      "second": "window-6069818c-23d6-488d-b964-5bd7eb303638"
    }
  }
}

hadro avatar Jun 23 '23 19:06 hadro

Wow! I've was unaware Mirador even supported this. For that reason alone, I think this demonstration of Choice should certainly have a place among the demo manifests. Who knows how many others out there have yet to discover this themselves? We'll work on making this update this week. Thank you for the recommendation, Josh 👍

enriquediaz avatar Jun 25 '23 22:06 enriquediaz

Sounds good, thanks @enriquediaz! For good measure, I'll also link issue #3693 here for good measure, just to highlight that Choice in M3 works a bit differently than it did in M2, but IMO seems fine to proceed with this while community discussion continues around that other issue.

hadro avatar Jun 26 '23 14:06 hadro