Questions tagged [mirador]

9 questions
1
vote
1 answer

creating annotation in mirador programmatically from javascript function

I am trying to programmatically create an annotation on a canvas in mirador by calling a javascript function outside mirador. Basically, I have a textual representation of a scanned text that includes descriptions of certain phenomenon on the scan,…
np18
  • 25
  • 4
1
vote
1 answer

Unpkg integration of mirador viewer not working within existDB app

I have an app I'm translating from xslt-generated html to existDB, and I'd like to include a Mirador viewer.The example (modified for my purposes as shown below) works fine with a static html page, and if I take the html generated from my exist…
medievalmatt
  • 427
  • 2
  • 12
0
votes
1 answer

Mirador with React 17 throws errors

I am trying to build a React Application with Mirador IIIF Viewer, But it does not seem to work Codesandbox link here. https://codesandbox.io/s/mirador-react-example-with-state-subscription-dispatch-forked-93p0fj?file=/index.js
keerti
  • 245
  • 5
  • 19
0
votes
1 answer

Mirador 3: adding attributes to HTML elements inside the viewer

On a database website, I am using a build of the Mirador 3 viewer with two extensions. I would like to use intro.js to create a tutorial that highlights the main elements in the viewer and explains their functions to the user. To do this, I need to…
Ulrik Lyngs
  • 98
  • 1
  • 5
0
votes
2 answers

Mirador 3: setting different configuration options when using build with plug-ins

I am using Mirador 3 in the context of a static website built with Hugo. When I embed Mirador from the unpkg URL, I can easily set different options on different pages (here using Hugo templating syntax to set the manifest):
Ulrik Lyngs
  • 98
  • 1
  • 5
0
votes
1 answer

IIIF / Mirador 3: how to limit the number of pages (canvas) available

Is it possible to limit the view of a window to a single canvas from a manifest? For instance, I would like to show only one or a few pages from this book and not let users get lost in the 127 pages. One possible option would be to remove altogether…
gramm
  • 41
  • 6
0
votes
1 answer

Mirador 3 - display windows as columns

When adding windows to mirador, they are displayed in a mosaic of increasingly small images. For example here with three windows. The windows are draggable and resizable, but I would like to have directly this sort of display: In mirador 2 I have…
gramm
  • 41
  • 6
0
votes
1 answer

Svg in Mirador 3 viewer

I'm using Mirador viewer with annotation file that include 'xywh' values to set rectangels on the image. I want to use Svg instea, so i can draw polygons on the image. I found here: IIIF Api the annotation item struct to include svg, but it's not…
ASAFY
  • 11
  • 2
0
votes
0 answers

Mirador words highlighting

I am showing OCR-ed book pages in Mirador viewer. All words with coordinates are fetched from elasticsearch and search is across all books (meaning I can't use IIIF search api). I need to highlight certain words in Mirador viewer. I know that this…
adams
  • 1