fixed compress image

This commit is contained in:
SlimusMinus
2026-10-15 01:29:07 +03:00
parent c56f2bcdb1
commit f75df406ce
5 changed files with 118 additions and 37 deletions

View File

@@ -151,11 +151,13 @@ export default function PostOnFeed({ ad, onEdit, onDelete, onMarkFound, onReopen
alt={ad.title}
className="f-card-img-slide"
draggable={false}
loading="lazy"
decoding="async"
/>
))}
</div>
) : (
<img src={getImageUrl(images[0])} alt={ad.title} />
<img src={getImageUrl(images[0])} alt={ad.title} loading="lazy" decoding="async" />
)
) : (
<span className="f-card-emoji">{ad.emoji || "📋"}</span>