Files
GearBox/.planning/todos/pending/2026-04-10-fix-item-image-not-showing-on-collection-overview.md
Jean-Luc Makiola b01625473f
All checks were successful
CI / ci (push) Successful in 1m5s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped
docs: capture 4 todos - storage tests, image bugs, manufacturer entity
2026-04-10 11:24:26 +02:00

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.