From ac083af7837551639a96811e85aa5c66cc7940cc Mon Sep 17 00:00:00 2001 From: Allison Lund <67483756+alliomeria@users.noreply.github.com> Date: Fri, 25 Mar 2022 16:02:26 -0400 Subject: [PATCH] Update iiif_presentation_api_3_creative_works_series_child_canvases.twig.html Fix inverse width & height --- ..._3_creative_works_series_child_canvases.twig.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/d8content/metadatadisplays/iiif_presentation_api_3_creative_works_series_child_canvases.twig.html b/d8content/metadatadisplays/iiif_presentation_api_3_creative_works_series_child_canvases.twig.html index 90d1f194..9149cbfb 100644 --- a/d8content/metadatadisplays/iiif_presentation_api_3_creative_works_series_child_canvases.twig.html +++ b/d8content/metadatadisplays/iiif_presentation_api_3_creative_works_series_child_canvases.twig.html @@ -1,5 +1,5 @@ {# -Updated 22/11/2021 for RC3 +Updated 25/03/2022 for RC3 This Template generates IIIF 3.0 Canvas only Partial API Manifest from a Strawberry Field JSON to be used by a Drupal Views (REST) to generate a simpler to parse/join listing of Canvases @@ -162,8 +162,8 @@ "label": { "none": [ {{ (data.label ~ ' sequence ' ~ loop.index)|json_encode|raw }}] }, {{ metadata }} {{ thumbnail }} - "height": {{ width }}, - "width": {{ height }}, + "height": {{ height }}, + "width": {{ width }}, "items": [ { "id": "{{ nodeurl }}/iiif/sequence/p{{ loop.index }}/1", @@ -185,8 +185,8 @@ "profile": "level2" } ], - "height": {{ width }}, - "width": {{ height }} + "height": {{ height }}, + "width": {{ width }} }, "target": "{{ nodeurl }}/iiif/canvas/p{{ loop.index }}" } @@ -196,4 +196,4 @@ }{{ not loop.last ? ',' : '' }} {% endfor %} ] -} \ No newline at end of file +}