Skip to content

tilesUrl in getImageHostUrl #131

@regisrob

Description

@regisrob

Known issue with info.json from e-codices:
imageView is not working because the identifier parameter is missing:
OSD error: "Error: IIIF required parameters not provided."

Solved:
The issue comes from the tilesUrl parameter provided in info.json => "tilesUrl": "http://xxxx.unifr.ch/image/iiif/", which is wrong regarding the way Mirador is processing it in iiif.js.
Fixed by dealing only with id parameter at https://github.com/IIIF/mirador/blob/master/js/src/iiif.js#L45: json.image_host = json['@id'] || '';

Does it still make sense to take tilesUrl into account to deal with "image_host" and "identifier" for OSD?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions