From daa1ef051398beda24d2b181b9a642a03a9a37fd Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 7 May 2026 13:52:53 +0200 Subject: [PATCH] feat(cards): image / audio attachments on cards via mana-media MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cards can now carry image, audio, and video attachments uploaded to mana-media (the existing CAS service that already powers picture, photos, wardrobe, etc.). Pipeline: • lib/media/upload.ts wraps POST /api/v1/media/upload (multipart, app=cards). Returns { id, url, kind } with the right variant URL per kind (medium for images, full file for audio/video). 25 MB cap matches the website-upload pattern. • mediaToFieldSnippet(): drops Markdown ![]() for images; raw