Product image handling and caching #14

Open
opened 2026-05-21 20:05:32 +00:00 by jmiller · 0 comments
Owner

Summary

Fetch, cache, and display product images from Dolibarr's document system.

Requirements

  • Fetch product images via GET /documents?modulepart=product&id={id}
  • Local caching of images to reduce API calls
  • Thumbnail generation for list view
  • Full-size images for detail view/gallery
  • Placeholder image when no product image exists
  • Cache invalidation on product sync

Acceptance Criteria

  • Product images display from Dolibarr
  • Images cached locally after first fetch
  • Thumbnails generated for list view
  • Placeholder shown for missing images
  • Cache refreshes on manual sync
## Summary Fetch, cache, and display product images from Dolibarr's document system. ## Requirements - Fetch product images via `GET /documents?modulepart=product&id={id}` - Local caching of images to reduce API calls - Thumbnail generation for list view - Full-size images for detail view/gallery - Placeholder image when no product image exists - Cache invalidation on product sync ## Acceptance Criteria - [ ] Product images display from Dolibarr - [ ] Images cached locally after first fetch - [ ] Thumbnails generated for list view - [ ] Placeholder shown for missing images - [ ] Cache refreshes on manual sync
Sign in to join this conversation.
Type Task
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoDoliJoomShop#14