You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Simple image derivative script seems to output a different image metadata path than the IIIF script to the csv and other files, which breaks the search thumbnail preview.
the IIIF script puts a / in front of img. (It also includes quotations, which I'm not sure make a huge difference). The Simple script breaks the thumbnail display in the search page because it's missing that / and the path ends up running together like localhost:4000/waximg/derivatives/... instead of localhost:4000/wax/img/derivatives/...
The thumbnail images don't show up on the search page and jekyll gives this error (showing the path name run-in without the /): ERROR '/waximg/derivatives/simple/obj11/thumbnail.jpg' not found.
I was able to manually fix the thumbnail error by adding slashes to all the thumbnail pathways in the search/index.json, but it would be extremely annoying to do if I had a lot more images. Both the scripts should output the same path format.
The text was updated successfully, but these errors were encountered:
leucotic
changed the title
image directories output different for iiif vs simple
image metadata output different for iiif vs simple
Oct 19, 2020
@leucotic you 100% caught a bug, thanks for the heads up!
if you need a less tedious fix while I work on a patch in the wax_tasks gem, you can temporarily fix this in your site by adding a slash between ${url} and ${item.thumbnail} in assets/search-ui.js:
Thank you! I will try that.
(I'm just learning the framework for now and gathering materials for a collection, I don't have a live site yet, but I will soon, hopefully!)
The Simple image derivative script seems to output a different image metadata path than the IIIF script to the csv and other files, which breaks the search thumbnail preview.
the IIIF script puts a / in front of
img
. (It also includes quotations, which I'm not sure make a huge difference). The Simple script breaks the thumbnail display in the search page because it's missing that / and the path ends up running together likelocalhost:4000/waximg/derivatives/...
instead oflocalhost:4000/wax/img/derivatives/...
The thumbnail images don't show up on the search page and jekyll gives this error (showing the path name run-in without the /):
ERROR '/waximg/derivatives/simple/obj11/thumbnail.jpg' not found.
I was able to manually fix the thumbnail error by adding slashes to all the thumbnail pathways in the search/index.json, but it would be extremely annoying to do if I had a lot more images. Both the scripts should output the same path format.
The text was updated successfully, but these errors were encountered: