17 lines
820 B
Markdown
17 lines
820 B
Markdown
---
|
|
created: 2026-04-10T09:23:46.394Z
|
|
title: Fix item image not showing on collection overview
|
|
area: ui
|
|
files:
|
|
- src/client/routes/collection.tsx
|
|
- src/client/components/ItemCard.tsx
|
|
---
|
|
|
|
## Problem
|
|
|
|
When adding an image to an item, the image is not displayed on the collection overview page (grid/list view). The image only appears when viewing the item's detail page. This suggests the collection overview query or component isn't fetching/passing the image URL, or the card component isn't rendering it.
|
|
|
|
## Solution
|
|
|
|
Check the collection overview query — does it include `imageUrl`/`imageFilename` in the response? Check the ItemCard component — does it render the image when present? May need to ensure the presigned S3 URL is being generated for the collection list endpoint, not just the detail endpoint.
|