From f8db20f54c331aa17b3aaf922e90fad274133d0a Mon Sep 17 00:00:00 2001 From: bkoschicek Date: Tue, 26 Sep 2023 16:44:45 +0200 Subject: [PATCH] removed int for w and h --- openatlas/api/endpoints/iiif.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openatlas/api/endpoints/iiif.py b/openatlas/api/endpoints/iiif.py index 0aafa6d8c..b3e2c9578 100644 --- a/openatlas/api/endpoints/iiif.py +++ b/openatlas/api/endpoints/iiif.py @@ -36,8 +36,8 @@ def getManifest(id_): "@id": "http://251a31df-761d-46df-85c3-66cb967b8a67", "@type": "sc:Canvas", "label": entity.name, - "height": int(image_api['height']), - "width": int(image_api['width']), + "height": image_api['height'], + "width": image_api['width'], "description": { "@value": entity.description, "@language": "en"}, @@ -57,8 +57,8 @@ def getManifest(id_): "@id": iiif_id, "profile": image_api['profile'] }, - "height": int(image_api['height']), - "width": int(image_api['width'])}, + "height": image_api['height'], + "width": image_api['width']}, "on": "http://251a31df-761d-46df-85c3-66cb967b8a67"}], "related": ""}]}], "structures": []}