Skip to content
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

V2 manifests generated via NQ are incorrectly indented #980

Open
griffri opened this issue Mar 10, 2025 · 1 comment
Open

V2 manifests generated via NQ are incorrectly indented #980

griffri opened this issue Mar 10, 2025 · 1 comment
Labels
API https://dlcs-book.readthedocs.io/en/latest/ bug Something isn't working

Comments

@griffri
Copy link
Contributor

griffri commented Mar 10, 2025

thumbnail objects within V2 manifests that were generated via a named query aren't being correctly indented. Example:

...
            },
            {
              "label": "Roles",
              "value": ""
            }
          ],
          "thumbnail": {
  "@id": "..../thumbs/1/15/image-example/full/198,200/0/default.jpg",
  "@type": "dctypes:Image",
  "service": {
    "@context": "http://iiif.io/api/image/2/context.json",
    "@id": ".../1/15/image-example",
    "profile": "http://iiif.io/api/image/2/level0.json",
    "sizes": [
      {
        "width": 1009,
        "height": 1024
      },
      {
        "width": 395,
        "height": 400
      },
      {
        "width": 198,
        "height": 200
      },
      {
        "width": 99,
        "height": 100
      }
    ]
  }
},
          "height": 4096,
          "width": 4034,
          "images": [
            {
              "@id": ".../1/15/image-example/canvas/c/1/imageanno/0",
              "@type": "oa:Annotation",
...
@griffri griffri added API https://dlcs-book.readthedocs.io/en/latest/ bug Something isn't working labels Mar 10, 2025
@donaldgray
Copy link
Member

May require fix in https://github.com/digirati-co-uk/iiif-net. Also affects single-item manifests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API https://dlcs-book.readthedocs.io/en/latest/ bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants