Daniel-KM / Omeka-S-module-Mirador

Omeka S module that integrates Mirador, an advanced viewer, in order to display one or multiple images, local or remote, via the IIIF standard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thumbnails do not load

Falteri opened this issue · comments

It often happen that thumbnails do not load when loading multi-part object (e.g.: https://www.e-codices.unifr.ch/metadata/iiif/kba-MurF0008/manifest.json).

I think it worth to update mirador to version 2.7.0 (latest release) as it has been emproved in loading thumbnails ("Updates to the eventedCanvas library to improve thumbnail robustness")

Hi,
I just published version 3.1.7 (in releases) that includes both version 2.7.0 and version 3.0 beta, that may fix your issue. Note that you may have to set the version in the site settings.

Hi Daniel,
version 3.0 seems to solve the issue, while 2.7.0 seems not.
3.0 also works smoother and looks lighter. It seems to be the right choice even if still in Beta. Do you want me to check something? Plugins?

I see that if in site settings if you choice 3.0, then the list of available plugins disappears.
I also noted that with version 2.7 selected is there someting missed while web page is loaded:

GET http://omeka.ifnet.it/modules/Mirador/asset/vendor/mirador/locales/en-US/translation.json 404 (Not Found)
GET http://omeka.ifnet.it/modules/Mirador/asset/vendor/mirador/locales/en/translation.json 404 (Not Found)
GET http://omeka.ifnet.it/modules/Mirador/asset/vendor/mirador/images/debut_dark.png 404 (Not Found)

I finally noted that while a mirador-2-plugin folder is present in asset/vendor, a mirador-plugin folder it is not, but I'm not sure if this is by design.

Hope this help

When you download a module from Github, it's preferable to use the releases, that contain all dependencies, instead of the button "Download" on the first page that contains only the source code. If you use the source code, run composer install --no-dev && npm install && gulp from the root of the module.

So in the new version, Mirador 2 installed in /asset/vendor/mirador-2 and mirador-2-plugins, and Mirador 3 in /asset/vendor/mirador. There are no plugins for mirador 3 currently, they will be installed in mirador-plugins. What are the missing folders?

For the missing files, it seems that mirador 2 try to load ressources from the old directory.

Probably fixed in last version (3.1.7.3).