🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
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