Skip to content

Wrong icon in File preview for audio files #7395

@pReya

Description

@pReya

Description

Within a files section, when I upload an audio file (e.g. .mp3 or .ogg) with the following blueprint:

title: Audio Recording

accept: audio/webm, audio/ogg, audio/mpeg, audio/wav
fields:
  created:
    label: Erstellt am
    type: date
    time: true
    disabled: true
  published:
    label: Veröffentlicht?
    type: toggle
    default: false
    help: "Die Aufnahme wird erst nach der Veröffentlichung auf der Soundbox-Seite angezeigt."

When I use the cards or cardlets layout in the file section/field, this file will show a little yellow camera icon (it's the icon-video sprite).

Expected behavior
It should use the icon-audio sprite/svg.

Screenshots

Image

"Aufnahme" is in reference to Audio files in this screenshot. These are .ogg files.

Your setup

Kirby Version
5.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions