python-gallery/gallery/templates/image.html
Michał 8c25779882 Add EXIF data displaying
Add info to setup and manifest(o)
Change background scroll effect
2023-01-10 22:17:41 +00:00

27 lines
832 B
HTML

{% extends 'layout.html' %}
{% block header %}
<img src="/uploads/original/{{ image['file_name'] }}" alt="leaves" onload="imgFade(this)" style="display: none;"/>
{% endblock %}
{% block content %}
<div class="app">
<div class="image__container">
<img
class="image__item"
src="/uploads/original/{{ image['file_name'] }}"
onload="imgFade(this)" style="display:none;"
/>
</div>
<div class="image__info">
<h2>{{ image['file_name'] }}</h2>
<p>{{ image['id'] }}</p>
<p>{{ image['author_id'] }}</p>
</div>
<div class="image__info">
{% for tag in exif %}
<p>{{ tag }}: {{ exif[tag] }}</p>
{% endfor %}
</div>
</div>
{% endblock %}