Skip to content

Allow IIIF Manifests without an Image Service or with static images to work on IABookreader/Mirador #74

@DiegoPino

Description

@DiegoPino

Related to #71

What is needed?

Now that PDF serving via IIIF is fixed on IABookreader we need more!

Given the fact that on JS we work on a Browser/HTML/CSS World, we need to know the width and height of the images we serve via IIIF always, to scale things and display them correctly. In the absence of an Image Resource Service definition in a IIIF Manifest, we have no access to a info.json, which means we can not get the size.

Solution is to either push size/width for every image from the SBF JSON into the IIIF Manifest when creating the Twig Template (we need SBF Runners for that) but in the case of a PDF that is serving pages via an Cantaloupe argument, that is not possible.

Solution: use JS!

#73 (comment)

This will need to be either ported to Mirador 3 too, see my comment at the end of

ProjectMirador/mirador#2616

@giancarlobi

Metadata

Metadata

Assignees

Labels

IIIFSpecs/Manifests/ImplementationsJavascriptFavourite language of a PHP developerenhancementNew feature or requestexternal bugIt is not us, it is them

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions