Skip to content

Commit

Permalink
trying to fix manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardKoschicek committed Sep 26, 2023
1 parent b3bd114 commit f557d86
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions openatlas/api/endpoints/iiif.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ def getManifest(id_):
"description": [{
"@value": entity.description,
"@language": "en"}],
"thumbnail": {
"@id": f"{iiif_id}/full/250,250/0/default.jpg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": iiif_id,
"profile": "http://iiif.io/api/image/2/level1.json"
}},
"license": get_license_name(entity),
"attribution": "By OpenAtlas",
"sequences": [{
Expand All @@ -43,8 +36,8 @@ def getManifest(id_):
"@id": "http://251a31df-761d-46df-85c3-66cb967b8a67",
"@type": "sc:Canvas",
"label": entity.name,
"height": image_api['height'],
"width": image_api['width'],
"height": int(image_api['height']),
"width": int(image_api['width']),
"description": {
"@value": entity.description,
"@language": "en"},
Expand All @@ -64,8 +57,8 @@ def getManifest(id_):
"@id": iiif_id,
"profile": image_api['profile']
},
"height": image_api['height'],
"width": image_api['width']},
"height": int(image_api['height']),
"width": int(image_api['width'])},
"on": "http://251a31df-761d-46df-85c3-66cb967b8a67"}],
"related": ""}]}],
"structures": []}
Expand Down

0 comments on commit f557d86

Please sign in to comment.