digirati-co-uk / iiif-manifest-editor

Create new IIIF Manifests. Modify existing manifests. Tell stories with IIIF.
https://manifest-editor.digirati.services/
MIT License
31 stars 2 forks source link

Media 2: Image from Image Service, undeclared #194

Closed tomcrane closed 1 year ago

tomcrane commented 2 years ago

Reference: https://tomcrane.github.io/scratch/me/media.html#case2

Data

Media is a static image that is the parameterisation of an image service (ME detects this), but that image service is not declared. In the items list, it has the label **Image from Image Service***

02-01

This might be the same as Case 1, except both we and ME can see that the Image is a special URL:

{
    "id": "https:/example.org/anno1",
    "type": "Annotation",
    "motivation": "painting",
    "body": {
        "id": "https:/example.org/images/my-service/full/791,1024/0/default.jpg",
        "type": "Image",
        "width": 791,
        "height": 1024,
        "format": "image/jpeg"
    },
    "target": "https:/example.org/canvas1"
}

Editing Scenario

You can’t edit the image (see Note in 1). You can delete the media though. You’re deleting the whole painting annotation.

ME displays message: “This image is provided by an image service.”

In the services block there is a special operation:

Attach this image service (dotted line?)

This operation turns 2. into 3.

When that happens, the static image information in the first accordion panel is replaced by the dynamic image service configurator in 3.

Creation scenario

The Manifest Editor will never create an example of 2 as a starting condition.

If you provide an Image Service into the general media paste box, it will create 3 - an Image with an image service.

You can still then remove the service manually though, turning 3 into 2.