Fileupload mode: file display image in list mode

Hello,

When you define a fileupload field with mode:file like this :

audio:
    label: Audio
    type: fileupload
    maxFiles: 1
    mode: file
    fileTypes: m4a, mp3
    useCaption: false

When you display your record in list mode, the file is displayed as an image

I think it should displayed as a simple link to the file.

Best regards,

good point.
maybe, you can write a simple code to extend ColumnTypes to display a link or even the audio track itself?
it could be a quick and useful trick, what do you think ?

Column type ‘image’ doesn’t work for files. You can either define a custom column (List Controller - October CMS - 3.x) or use the ‘linkage’ type (Linkage Column - October CMS - 3.x).

I talk about fileupload associated to a tailor model, the idea is to have something “plug & play” not to write plugin with custom controller to manage the display of a column