Cannot get Universal Viewer to display images #183
Replies: 2 comments 7 replies
-
|
@WhatTheDickens can you share a link to the example in a repository? |
Beta Was this translation helpful? Give feedback.
-
|
@WhatTheDickens oh okay I understand better--the issue is that the includes in "_includes/item/" are set up as if they are used on an Item page, so all the variables it pulls in are like
Which makes sense--that is how the includes in "_includes/feature/" work--but won't work with the Item includes. I just opened a PR in your project that adds a Feature include version of the UV include. This will allow you to use it like:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm unable to load a IIIF image in Universal Viewer from its manifest url or the downloaded manifest file in CB-Essay. I've created the appropriate display template following the instructions on the Recipes page in the documentation. The page properly displays the viewer from the template, but the image never loads.
I'm able to embed an
<iframe>of the viewer without difficulty, pulling the image from a repository I set up previously following the UV instructions. For example, this works fine.But there appears to be no way to treat an
<iframe>asobject_location, so I can't load my images in a UV embed by pulling from my CSV; I'd have to insert these individually for each image.Again, I've tried entering the individual manifest for the image from URL as
object_location:https://cdm16003.contentdm.oclc.org/iiif/info/p16003coll16/23/manifest.jsonAnd I've gone to that URL and downloaded the json file, put it in
objects, and referenced it as/objects/23.jsonin my CSV. Neither approach works. Here is the json content:I'm missing a step somewhere, I imagine. But where?
Beta Was this translation helpful? Give feedback.
All reactions