✨ feat(liip_imagine): Ajoute le filtre 'members' pour les photos des membres
This commit is contained in:
@@ -14,6 +14,12 @@ liip_imagine:
|
||||
filters:
|
||||
strip: ~
|
||||
thumbnail: { size: [ 128, 128 ], mode: inset }
|
||||
members:
|
||||
quality: 75
|
||||
format: 'webp'
|
||||
filters:
|
||||
strip: ~
|
||||
thumbnail: { size: [ 128, 128 ], mode: inset }
|
||||
logo:
|
||||
quality: 85
|
||||
format: 'webp'
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
{# Photo et Pseudo #}
|
||||
<div class="text-center mb-4">
|
||||
<img src="{{ member.photo_url | imagine_filter('webp')}}" alt="Photo de {{ member.pseudo }}" class="w-24 h-24 mx-auto rounded-full object-cover border-4 border-indigo-200 shadow-md">
|
||||
<img height="24" width="24" src="{{ member.photo_url | imagine_filter('members')}}" alt="Photo de {{ member.pseudo }}" class="w-24 h-24 mx-auto rounded-full object-cover border-4 border-indigo-200 shadow-md">
|
||||
<h3 class="text-xl font-bold mt-3 text-gray-800">{{ member.pseudo }}</h3>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user