image path adjusted

This commit is contained in:
Andreas Knuth 2024-05-23 18:39:25 -05:00
parent 5dc893da38
commit f9d9c6ad9e
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@
<div class="p-3 border-1 surface-border border-round surface-card"> <div class="p-3 border-1 surface-border border-round surface-card">
<div class="text-900 mb-2 flex align-items-center"> <div class="text-900 mb-2 flex align-items-center">
@if (listing.imageOrder?.length>0){ @if (listing.imageOrder?.length>0){
<img src="{{ env.imageBaseUrl }}/pictures/property/{{ listing.imagePath }}/{{ listing.imageOrder[0] }}?_ts={{ ts }}" class="mr-3" style="width: 45px; height: 45px" /> <img src="{{ env.imageBaseUrl }}/pictures/property/{{ listing.imagePath }}/{{ listing.serialId }}/{{ listing.imageOrder[0] }}?_ts={{ ts }}" class="mr-3" style="width: 45px; height: 45px" />
} @else { } @else {
<img src="assets/images/placeholder_properties.jpg" class="mr-3" style="width: 45px; height: 45px" /> <img src="assets/images/placeholder_properties.jpg" class="mr-3" style="width: 45px; height: 45px" />
} }