-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of empty canvases #83
Comments
Agree related to #71. Agree not 1.0 but a high priority. For example, the director of the Medieval Academy of America yesterday: Where Shared Canvas/IIIF will be discussed R On Wed, Jan 29, 2014 at 9:38 AM, regisrob [email protected] wrote:
|
Here is the manifest of the virtual reconstruction of the "Florus dispersus" manuscript (http://demos.biblissima-condorcet.fr/iiif/metadata/florus-dispersus/manifest.json) (see Mirador demo, showing the known lacunae w/ empty canvases and the internal codicological/intellectual structure by means of ranges). Possible fixture object for this ticket and this one in the new repo: Presentation API 2.0 support for ranges and table of contents display NB:
[1] The data model supports this use case, and the cardinality between Canvas and Content is (0..*) according to P-API, but on the other hand the spec says that height and a width are mandatory. |
I have this working, but it is a bit tricky and hacky. It involves fixes in a couple places. 1.) getImageURL() in iiif.js: 2.) getThumbnailForCanvas() in manifest.js 3.) Most importantly, createOpenSeaDragon has no check for failure to get an image service which is what builds the single image view in a slot. You have to tell this function that not having an image is OK. _this.osd = $.OpenSeadragon({ This allows me to use non-IIIF images and support IIIF canvases without images by placing a holder resource in instead. P.S. |
Use case "Florus dispersus": reconstructed manifest of a disbound manuscript, with some known lacunae => the viewer should be able to render the information about emptiness, e.g. displaying empty canvases in thumbnailView/scrollView and showing relevant info message in imageView.
(issue related to #71 to some extent: Mirador should support manifests with no IIIF image service and no image annotation at all for a given canvas).
Maybe not absolutely necessary for a stable RC 1.0 release.
The text was updated successfully, but these errors were encountered: