mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Improve image api.
This commit is contained in:
@@ -85,7 +85,7 @@ function ActivityCard({ activity }: { activity: Activity }) {
|
||||
<div>
|
||||
<img
|
||||
className={"object-contain max-h-52 mt-2 rounded-lg"}
|
||||
src={network.getImageUrl(activity.resource.image.id)}
|
||||
src={network.getResampledImageUrl(activity.resource.image.id)}
|
||||
alt={activity.resource.title}
|
||||
/>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user