fix: adopt relative filename generation for teamer photos in all places

This commit is contained in:
Björn Fromme
2025-08-21 14:26:44 +02:00
parent e3474c6387
commit b18a671ff6
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -151,7 +151,7 @@
<h2 class="text-xl font-bold pb-2">
Mein Foto
</h2>
<img src="{{ asset(teamer.photo.filename | imagine_filter('profile')) }}"
<img src="{{ asset(teamer.photo | upload_filename_full | imagine_filter('profile')) }}"
class="w-48 h-auto border-2 border-primary"
alt="{{ teamer.firstName }}">
</div>
@@ -177,4 +177,4 @@
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}
{% endblock %}