Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
$file->mime()
Returns the file's mime type
return
(string)
Example
echo $page->image('my-image.jpg')->mime(); // echos image/jpeg
↑
Cheat Sheet overview
←
$file->meta([$language])
→
$file->modified($format = false, $handler = null)
↓
Back to Cheat Sheet section
Top