fixed compress image
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user