Skip to content

Kirby 5.0.1

$image->mime()

Detects the mime type of the file

$image->mime(): string|null

Return types

stringornull

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File