Commit 5aeca252 authored by Röpert, Dominik's avatar Röpert, Dominik
Browse files

changed variables

parent 4102aff9
......@@ -45,7 +45,7 @@
{% for item in iiif %}
{
"@type": "sc:Canvas",
"@id": "https://herbarium-dev.bgbm.org/iiif/canvas/{{ loop.index }}",
"@id": "{{ base_url() }}/iiif/canvas/{{ loop.index }}",
"label": "{{ item[iiif_conf['filename']] }}",
"width": 6099,
"height": 8599,
......@@ -53,7 +53,7 @@
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://herbarium-dev.bgbm.org/iiif/canvas/{{ loop.index }}",
"on": "{{ base_url() }}/iiif/canvas/{{ loop.index }}",
"resource": {
"@type": "dctypes:Image",
"@id": "{{ iiif_conf['image_base_url'] ~ item[iiif_conf['requestpath']]|replace({'!':'/'}) ~ "/" ~ item[iiif_conf['filename']] }}",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment