Skip to content

Commit

Permalink
Update iiif_presentation_api_3_creative_works_series_child_canvases.t…
Browse files Browse the repository at this point in the history
…wig.html

Fix inverse width & height
  • Loading branch information
alliomeria authored Mar 25, 2022
1 parent 677e454 commit ac083af
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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",
Expand All @@ -185,8 +185,8 @@
"profile": "level2"
}
],
"height": {{ width }},
"width": {{ height }}
"height": {{ height }},
"width": {{ width }}
},
"target": "{{ nodeurl }}/iiif/canvas/p{{ loop.index }}"
}
Expand All @@ -196,4 +196,4 @@
}{{ not loop.last ? ',' : '' }}
{% endfor %}
]
}
}

0 comments on commit ac083af

Please sign in to comment.