Refactor thumbnails
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<div class="col s4">
|
||||
<div class="card medium">
|
||||
<div class="card-image">
|
||||
<img src="{% if item.has_photo %}/m/photo/{{ item._id }}/576{% else %}/static/No_image_available.svg{% endif %}" alt="no photo" loading="lazy">
|
||||
<img src="{% if item.has_photo %}{{ item._id | thumbnail(576)}}{% else %}/static/No_image_available.svg{% endif %}" alt="no photo" loading="lazy">
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<span class="line-clamp card-title activator grey-text text-darken-4">{{ item.name }}</span>
|
||||
|
Reference in New Issue
Block a user