Continuing the discussion from I can upload all kinds of files that aren't images:
Currently, when I upload a file to kinopio, if it’s a supported image type, the image gets rendered. Otherwise, it’s just the full URL. In this case, maybe we want to just show the filename. You asked me what filetypes we should do this for, and I wonder if it’s for all of them. Additionally, for more common filetypes, you could show a specific icon representing that filetype. Maybe that’s what you were asking for, but just wanted to clarify.
It’s kinda elegant on the one hand that a URL in a card is a URL. In other cases, if I paste a URL, I would definitely not want it to get shortened to just the filename. So it seems like the two cases we are talking about are URLs vs attachments/uploads.
So to bring it back, what if we treat kinopio uploads like this and only show the filename? Perhaps that’s what you already had in mind And in that case, maybe we don’t need app-specific icons. Just show that it is an uploaded file and the filename (which includes the extension that indicates the filetype).
Another hack that we can do currently is to use the kinopio upload URL as a markdown link.