carousel and video path
This commit is contained in:
parent
56e03ce321
commit
655a2b110c
@ -297,7 +297,7 @@ def artwork():
|
||||
''')
|
||||
sparql.setReturnFormat(JSON)
|
||||
artworkartefacts = sparql.query().convert()
|
||||
print(artworkartefacts)
|
||||
# print(artworkartefacts)
|
||||
|
||||
|
||||
# Distributor Links
|
||||
@ -412,7 +412,7 @@ def artwork():
|
||||
text="<p>Information not available</p>"
|
||||
x["text"] = text
|
||||
|
||||
print(artworkdescriptiondata)
|
||||
# print(artworkdescriptiondata)
|
||||
|
||||
# exhibitions + id to be changed
|
||||
sparql.setQuery('''
|
||||
|
@ -43,28 +43,34 @@
|
||||
<!-- ARTWORK IMAGES -->
|
||||
<!-- removed artwork-about-img + on img artwork-about-imgs -->
|
||||
<div class="my-slider">
|
||||
|
||||
|
||||
{% if artworkimages['results']['bindings']==[] %}
|
||||
<img class="item" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}">
|
||||
<img src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}">
|
||||
{% else %}
|
||||
|
||||
{% for x in artworkimages['results']['bindings'] |reverse %}
|
||||
|
||||
<div class="item">
|
||||
<!-- START GROUP IMG + LABELS -->
|
||||
{% if "image" in x %}
|
||||
<img class="item" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'>
|
||||
<img src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'>
|
||||
<!-- copyright and front or back -->
|
||||
{% endif %}
|
||||
|
||||
{% if "depictsLabel" in x %}
|
||||
<span>{{ x['depictsLabel']['value'] }}</span>
|
||||
<p>{{ x['depictsLabel']['value'] }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if "licenseLabel" in x %}
|
||||
<span>{{ x['licenseLabel']['value'] }}</span>
|
||||
<p>{{ x['licenseLabel']['value'] }}</p>
|
||||
{% endif %}
|
||||
<!-- END GROUP IMG + LABELS -->
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<div id="wrapper-vid">
|
||||
<video preload="meta" autoplay="" loop="">
|
||||
<source src="{{ url_for('static', filename='/vid/DAAP_video_update.mp4') }}" type="video/mp4">
|
||||
<source src="{{ url_for('static', filename='/vid/DAAP_video_reduced.mp4') }}" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user