Use encrypt image names in html

This commit is contained in:
klemens committed 2023-03-13 21:33:29 +01:00
1 parent 81b7339634
commit 0480943093
4 files changed
+140 -13

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@
<main>
{% for image in images %}
<div style="aspect-ratio: {{image.width}} / {{image.height}}; flex-grow: {{10*image.width/image.height}};">
<img loading="lazy" src="/image/{{image.name}}" alt="YOU SHALL NOT SAVE THIS IMAGE!" />
<img loading="lazy" src="/image/{{image.encrypted_name}}" alt="YOU SHALL NOT SAVE THIS IMAGE!" />
</div>
{% endfor %}
</main>