Media Library — SanadiqCloud
Product version: 1.0.0+1
Last updated: 2026-08-03
Audience: Tenant Owners, Tenant Employees, Regular Users withmedia:read
A. Browsing
Path: /media.
- Open side rail Media.
- Infinite-scroll list (page size 20).
- Search (debounced) + type chips: All, Product, Brand, Organization, Certificate, General.
- Layout: grid on wider screens, list rows on phone (automatic).
- Storage usage summary at the top when data is available.
- Tap a tile/row → detail. Upload opens
/media/uploadwhenmedia:createis granted.
Row / tile content
Title (alt or filename), type · size · date, thumbnail when the file is a displayable image.
There is no “Used in” column. Detail may show a reference count.
B. Detail
Path: /media/:id.
Metadata (filename, type, size, MIME, references, timestamps, alt, description, tags), preview for raster images, copy/open public URL, Delete with confirm (media:delete; force when references > 0).
No post-upload metadata edit form.
C. Image picker (from forms)
Path: /image-picker (modal). Browse the library (often filtered to images) or upload, then return the selected public URL to the calling form. Requires media:read (and media:create to upload in-picker).