Bucket site-media (project homelab) holds public/images/{logo.png,
profile.jpg} under stable file ids equal to the filenames, read("any")
so browsers fetch them keyless. src/lib/media.ts builds the /view and
/preview URLs; the profile circle uses preview width=256 (Appwrite resize
44 KB -> 10 KB webp/jpeg, cached on the storage layer with a 45-day
expiry). Each img keeps onerror swap to the public/images/ copy, which
stays in git as upload source and outage fallback.
Importer now upserts media too (size-match skip, delete+recreate on
change). Server-side note: _APP_STORAGE_LIMIT was unset (0), which
made every upload fail 'File size not allowed' and stored 0 in new
buckets' maximumFileSize; set to 30 MiB in .env + recreate, and the
bucket updated to match. Console storage UI verified rendering on
self-hosted 2.7.4 (unlike documentsdb).