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
@@ -49,7 +49,7 @@
</div>
<div class="flex flex-col space-y-4">
{% if teamer.photo %}
<img src="{{ asset(teamer.photo.filename | imagine_filter('profile')) }}"
<img src="{{ asset(teamer.photo | upload_filename_full | imagine_filter('profile')) }}"
class="w-32 h-auto border-2 border-primary"
alt="{{ teamer.firstName }}">
{% else %}
@@ -82,4 +82,4 @@
</ul>
</div>
</div>
{% endblock %}
{% endblock %}