ucsdlib / damspas-rd

A Digital Collections application based on Hyrax
MIT License
3 stars 2 forks source link

Fixes #136 - Added IIIF support with OpenSeadragon and Cantaloupe. #137

Closed lsitu closed 7 years ago

lsitu commented 7 years ago

Fixes #136

Added initial IIIF support with the OpenSeadragon viewer on Cantaloupe IIIF server.

Changes proposed in this pull request:

@ucsdlib/developers - please review

mcritchlow commented 7 years ago

Assuming we're going to go with openseadragon, it may be worth considering this gem which provides a simplified asset packaging and some helpers - https://github.com/cbeer/openseadragon-rails

lsitu commented 7 years ago

@mcritchlow I've changed it to use the OpenSeaDragon gem and its helper method for the picture viewer. And I've moved the IIIF viewer to the Object page while leave the static thumbnail on the FileSet and object page by themselves. Now the IIIF OpenSeaDragon viewer on the Object page will be triggered by the mouseover event and reset by double click. See commit https://github.com/ucsdlib/horton/pull/137/commits/8e3794aeca6c9b8f55b849e8fa81bdd13f1bf0fb.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.6%) to 91.776% when pulling 8e3794aeca6c9b8f55b849e8fa81bdd13f1bf0fb on feature/iiif_cantaloupe into a98151cff9902fb5ae6e46089e8569e9a35a8e33 on develop.

mcritchlow commented 7 years ago

Yeah I think this looks like a great starting point for evaluation. Thanks @lsitu

Will let @VivianChu take a peek too and sign off on the PR

VivianChu commented 7 years ago

👍