FEAT : Gestion des miniatures via thumbnails

This commit is contained in:
2025-12-03 13:59:26 +01:00
parent bafd5dff1a
commit d26d3742c5
17 changed files with 56 additions and 15 deletions

View File

@@ -16,7 +16,7 @@
<h2>Photos dans lalbum</h2>
<div th:each="p : ${album.photos}" style="display:inline-block; margin:10px;">
<a th:href="@{'/photo/' + ${p.id}}">
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
<img th:src="@{'/photo/' + ${p.id} + '/thumb'}" width="120"/>
</a>
<br/>
<a th:if="${canAdmin}" th:href="@{'/album/' + ${album.id} + '/remove/' + ${p.id}}"