--
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-development+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-develo...@googlegroups.com.
Hmm, I’m not sure of any good documentation for this kind of customization (although I’ll have to keep that in mind the next time I’m updating customization tutorials). If anybody else knows if/where this is documented, please chime in!
A simple way to do this is to inject a partial into the record view of an object via your blacklight_config (example: https://github.com/sul-dlss/exhibits/blob/27300a63ee15f99a4014ef052a0b280446c72b9c/app/controllers/catalog_controller.rb#L52 )
That view can then render the viewer of your choice as long as you can instantiate a viewer based on fields from your document (as you have access to the solr document object in the view).
Hope that helps,Please let us know if you have any questions.- Jessie Keck
On Sep 27, 2016, at 10:29 AM, Valdeva Crema <valdev...@gmail.com> wrote:
Thank you for your response. That certainly helped clear this up. One followup question: Is there documentation or are there any examples of how to integrate a different viewer into Spotlight?
On Wednesday, September 21, 2016 at 6:48:33 PM UTC-4, jkeck wrote:
Hi Valdeva,I believe that you’re doing everything correctly in this case.
What is happening (if my memory serves me correctly) is you’re running into a bug in the OpenSeadragon viewer that is implemented in Spotlight by default. I’m not sure if they have addressed this in any subsequent versions, or have completely re-writtent the entire thing (I’m a bit behind on the progress of that project).
We haven’t run into this particular issue ourselves because items uploaded via the Spotlight UI does not have multi-image support yet, and the items that we index from our repository get our oEmbed viewer which means our users never see the base OpenSeadragon viewer for multi-image objects.
It may be worth following up in the OSD project to see if they’ve addressed this (and could possibly update). I think initially we were looking into adding some javascript to help the viewer along when paginating through multi-image objects, but clearly nothing ever came to fruition on that one.
Ultimately, we don’t think people will be happy wit the default OSD viewer and will want to implement something like universal viewer or mirador.
Hope that helps!- Jessie
On Sep 14, 2016, at 6:55 AM, Valdeva Crema <valdev...@gmail.com> wrote:
Hello.I have some resources that contain multiple images. I have managed to import these resources into my instance of spotlight but the display only shows one image. It recognizes that there are 34 images and shows the pagination arrows but nothing happens when I click on the arrows. I am supplying the to_solr method for the resource with arrays for full image, thumbnail, and content_metadata_image_iiif_info_ssm which produces this result. I've attached an image to show what is appearing. Thanks in advance for any tips.
--
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-development+unsubscri...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-development+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to blacklight-develo...@googlegroups.com.
osd_config_referencestrip = {
showReferenceStrip: true,
referenceStripPosition: 'OUTSIDE',
referenceStripScroll: 'vertical',
referenceStripWidth: 100,
referenceStripBackgroundColor: 'transparent'
} osd_config_referencestrip = {
sequenceMode: true,
showReferenceStrip: true,
referenceStripPosition: 'OUTSIDE',
referenceStripScroll: 'vertical',
referenceStripWidth: 100,
referenceStripBackgroundColor: 'transparent'
}