Item Photos¶
Rules¶
- Maximum photos per item:
14. - Supported upload formats: JPEG, PNG, WEBP.
- On upload, the system creates:
Displayimage (max edge 1600px)Thumbnailimage (max edge 320px)- Images are re-encoded to JPEG, which removes original metadata.
Where Photos Are Stored¶
- Files are stored on disk, not in DB blobs.
- Development configured path:
C:\Inventory2Data\photos- Development fallback path when not configured:
%LOCALAPPDATA%\Inventory2Data\photos
How Photos Link to Items¶
- Each photo has a row in
Photoswith: PhotoIdAccountIdItemId- display/thumbnail storage keys
- image dimensions and creation time
User Actions¶
Upload: add a new photo from item detail.Preview: open the display image.Delete: removes both display + thumbnail files and the DB mapping row.
Access Control¶
- Photo endpoints require authenticated access.
- Access is account-scoped; users can only access photos for items in their own account.