Files
markbase/data
Warren b5cf80e981 fix: Add user_id to photo navigation arrows
Problem:
- Left/right arrows for photo navigation showed 'No preview'
- navigatePhoto() missing user_id parameter in stream API call
- img.src used old format: /api/v2/files/{file_uuid}/stream

Solution:
- Modified navigatePhoto() to include user_id
- Changed to: /api/v2/files/{user_id}/{file_uuid}/stream
- Get user_id from localStorage (tree_user)

Result:
- Photo navigation arrows now work correctly 
- Can browse through jpg/png/gif images in detail panel 
- Position indicator (1/2371) shows correct count 

Files:
- src/page.html (navigatePhoto function)
2026-05-17 05:34:40 +08:00
..
2026-05-16 15:37:37 +08:00