mirror of
https://github.com/FAUSheppy/python-flask-picture-factory
synced 2025-12-06 07:01:37 +01:00
feat: display images on frontpage
This commit is contained in:
@@ -22,7 +22,11 @@
|
|||||||
<div class="overview">
|
<div class="overview">
|
||||||
<p>
|
<p>
|
||||||
{% for path in paths %}
|
{% for path in paths %}
|
||||||
{{ path }}<br>
|
{% if not "cache" in path %}
|
||||||
|
<a href="/m/{{ path }}">
|
||||||
|
<img alt="{{ path }}" src="/m/{{ path }}?encoding=webp&x=250" class="float: right"></img>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user