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

This commit is contained in:
Björn Fromme
2025-08-21 14:29:09 +02:00
parent b18a671ff6
commit b26728cf80
+2 -2
View File
@@ -10,7 +10,7 @@
<div class="flex items-center space-x-4">
{% if app.user.teamer and app.user.teamer.photo %}
<a href="{{ path('app_teamer_profile_index') }}" title="Mein Profil">
<img src="{{ asset(app.user.teamer.photo.filename | imagine_filter('profile')) }}"
<img src="{{ asset(app.user.teamer.photo | upload_filename_full | imagine_filter('profile')) }}"
class="h-8 w-auto rounded-full"
alt="{{ app.user.teamer.firstName }}">
</a>
@@ -52,4 +52,4 @@
</div>
</div>
</div>
{% endblock %}
{% endblock %}