python-gallery/gallery/templates/image.html
Michał 44a6712b6e Image upload added
Added temporary fix to loading images on the home page
Fix api.py for requesting images
Minor tweaks to default theme
2023-01-10 18:12:55 +00:00

21 lines
591 B
HTML

{% extends 'layout.html' %}
{% block header %}
<img src="/uploads/original/{{ fileName }}" 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/{{ fileName }}"
onload="imgFade(this)" style="display:none;"
/>
</div>
<div class="image__info">
<h2>{{ fileName }}</h2>
<p>{{ id }}</p>
</div>
</div>
{% endblock %}