Matteo
November 28, 2022, 12:43pm
1
Good morning, everyone,
I need insert this object in Mirador to have a default book view as per the screenshot:
var miradorInstance = Mirador.viewer({
id: “mirador”,
…
window: {
…
views: [
{ key: ‘single’, behaviors: [‘individuals’] },
{ key: ‘book’ },
{ key: ‘scroll’, behaviors: [‘continuous’] },
{ key: ‘gallery’ },
],
},
});
Where can I insert this text string in the form? Or do you know another method?
Thanks!
johndmc
November 29, 2022, 9:17am
2
Hello Matteo,
While it’s not quite the answer to your question, I’ve managed this by editing each individual manifest- as described here:
Adding the following opens the manifest in a paged book view in Mirador:
"behavior": [
"paged"
],
This may not be viable if you are working with many manifests, and perhaps someone else will know if this is possible directly in Mirador.
All the best,
John
Matteo
November 29, 2022, 1:31pm
3
Okay thanks, but how can I edit the manifest so I can add that text string?
johndmc
November 30, 2022, 9:16am
4
Hi Matteo,
In my example, I:
Downloaded the manifest from our image viewer (for example ),
Edited the file and inserted the text string
Uploaded the revised manifest to our Omeka S server over FTP, and
Added the new URI to the dcterms:hasFormat property for the relevant item.
I only did this for a small number of items on a single site; others may have more efficient methods for doing this at scale.
All the best,
John
Matteo
November 30, 2022, 9:51am
5
Hi johndmc,
thnaks for your passes.
Sorry for my ignorance but I can’t understand point 3: Uploaded the revised manifest to our Omeka S server over FTP,
You uploaded yoru manifest to Omeka S over FTP, but I can’t understand where.
Really thanks!
Hi Matteo,
No problem! There is no single answer here, all that matters is that you point the URI for the item’s dcterms:hasFormat property to the location of your revised manifest. This may or may not be on your Omeka server.
For convenience, I created a new folder in the /omeka/files/ directory and uploaded the manifests there. This should ensure the files are not lost during a future site upgrade.
All the best,
John
Matteo
December 8, 2022, 1:19pm
7
Ok thanks! I will try your upload!
system
Closed
December 3, 2023, 1:19pm
8
This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.