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
@@ -39,7 +39,7 @@
<tr>
<td>
{% 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-12 h-auto rounded-full"
alt="{{ teamer.firstName }}">
{% else %}
@@ -105,4 +105,4 @@
{{ knp_pagination_render(pagination) }}
</div>
</div>
{% endblock %}
{% endblock %}