❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$media->mime()
Returns the file's mime type
return
(string)
Example
echo $media->mime(); // echos image/jpeg
↑
Toolkit API overview
←
$media->load($data = array())
→
$media->modified($format = false, $handler = null)
↓
Back to Toolkit API section
Top