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

@@ -12,7 +12,7 @@
<div>
<a th:each="p : ${photosPrivees.content}" th:if="${p != null}"
th:href="@{'/photo/' + ${p.id}}">
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
<img th:src="@{'/photo/' + ${p.id} + '/thumb'}" width="120"/>
</a>
</div>
<div>
@@ -28,7 +28,7 @@
<div>
<a th:each="p : ${photosPubliques.content}" th:if="${p != null}"
th:href="@{'/photo/' + ${p.id}}">
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
<img th:src="@{'/photo/' + ${p.id} + '/thumb'}" width="120"/>
</a>
</div>
<div>
@@ -44,7 +44,7 @@
<div style="display:flex; gap:20px; flex-wrap:wrap;">
<div th:each="p : ${mesPhotosPartagees.content}" th:if="${p != null}">
<a th:href="@{'/photo/' + ${p.id}}">
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"
<img th:src="@{'/photo/' + ${p.id} + '/thumb'}" width="120"
style="display:block; border:1px solid #ccc;"/>
</a>
<!--compteur de partages -->
@@ -78,7 +78,7 @@
<a th:each="p : ${photosPartagees.content}"
th:if="${p != null}"
th:href="@{'/photo/' + ${p.id}}">
<img th:src="@{'/photo/' + ${p.id} + '/raw'}" width="120"/>
<img th:src="@{'/photo/' + ${p.id} + '/thumb'}" width="120"/>
</a>
</div>
<div>