fix: adopt relative filename generation for teamer photos in all places
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col space-y-4">
|
<div class="flex flex-col space-y-4">
|
||||||
{% if teamer.photo %}
|
{% 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"
|
class="w-32 h-auto border-2 border-primary"
|
||||||
alt="{{ teamer.firstName }}">
|
alt="{{ teamer.firstName }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -82,4 +82,4 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
<div>
|
<div>
|
||||||
{% if teamer.photo %}
|
{% if teamer.photo %}
|
||||||
<div class="pb-8">
|
<div class="pb-8">
|
||||||
<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"
|
class="w-48 h-auto border-2 border-primary"
|
||||||
alt="{{ teamer.firstName }}">
|
alt="{{ teamer.firstName }}">
|
||||||
</div>
|
</div>
|
||||||
@@ -232,4 +232,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{% if teamer.photo %}
|
{% 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"
|
class="w-12 h-auto rounded-full"
|
||||||
alt="{{ teamer.firstName }}">
|
alt="{{ teamer.firstName }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -105,4 +105,4 @@
|
|||||||
{{ knp_pagination_render(pagination) }}
|
{{ knp_pagination_render(pagination) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -151,7 +151,7 @@
|
|||||||
<h2 class="text-xl font-bold pb-2">
|
<h2 class="text-xl font-bold pb-2">
|
||||||
Mein Foto
|
Mein Foto
|
||||||
</h2>
|
</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"
|
class="w-48 h-auto border-2 border-primary"
|
||||||
alt="{{ teamer.firstName }}">
|
alt="{{ teamer.firstName }}">
|
||||||
</div>
|
</div>
|
||||||
@@ -177,4 +177,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ form_rest(form) }}
|
{{ form_rest(form) }}
|
||||||
{{ form_end(form) }}
|
{{ form_end(form) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user