Matteo
August 1, 2022, 12:41pm
1
Hi everyone,
I used Omeka S with my college.
When I used Mirador for viewing images the plugin show me this error in Chrome: Mirador error: SyntaxError: Unexpected token < in JSON at position 0 , when I used a Safari browser show me this: SyntaxError: The string did not match the expected pattern .
Only Mirador show me this problem because UniversalViewer works without problems.
This page for example: Natura Naturata · Le piante · Unife Virtual Heritage
Thanks!
boca
August 1, 2022, 6:36pm
2
Hello Matteo,
I took a look and it seems like the problem is that the URL https://virtualheritage.unife.it/iiif/1/4104/info.json does not exist. However, these ones work: https://virtualheritage.unife.it/iiif/3/4104/info.json https://virtualheritage.unife.it/iiif/2/4104/info.json
I think that this means that Mirador is trying to load IIIF resources using v1, but your IIIF module only supports versions of the protocol 2 or higher.
What versions of the Mirador Viewer and IIIF Server modules are you using?
Matteo
August 1, 2022, 8:47pm
3
Thank you for your response.
The version of IIIF server is 3.6.5.3 and the version of Mirador is 3.3.7.15.
What do you recommend that I do?
Thanks!
dan
August 2, 2022, 7:25am
4
My guess, the link to your manifest is wrong.
I checked the page:
the link to the manifest is set to:
https://virtualheritage.unife.it/iiif/2/set/4103
but it should be: https://virtualheritage.unife.it/iiif/2/4103
Then I can see you scan e.g. with universalviewer
Matteo
August 2, 2022, 12:51pm
5
Really thanks!
But how can I integrate the correct manifest in the Mirador module?
Sorry but I don’t understand…
dan
August 3, 2022, 8:07am
6
Could you switch to universalviewer just for testing? Then you could proof if there is an error or misconfig in the iiifserver. Otherwise the error is caused by mirador.
Matteo
August 4, 2022, 7:21am
7
In this page (Browse page ) I can see Mirador and UniversalViewer without problem, but if I insert the form in any page, it reports the problem to me.
Example: Botanica · Benvenuto · Unife Virtual Heritage
dan
August 4, 2022, 12:57pm
8
The example page is really a “page”, or? Not a item-show.phtml template.
Did yo try to add other manifest into your example
The modules are all up to date I assume? Unfortunately I do not really know how to find the error either.
Matteo
August 4, 2022, 2:13pm
9
Yes the page is part of the original site and yes by inserting other manifest Mirador works without problems.
I tried working on the IIIF server module and now I get this screen and not the images.
Your version of iiifserver is old. Can you try the last one (3.6.6.7)?
Matteo
September 30, 2022, 5:05am
11
Yes Thanks!
I solved by inserting a link and not the Mirador form directly.
For example: Loder · Benvenuto · Unife Virtual Heritage
system
Closed
June 7, 2023, 5:05am
12
This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.