❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$media->base64()
Returns the content of the file as base64 encoded string
return
(string)
Example
<?= $media->base64() ?>
↑
Toolkit API overview
←
$media->append($content)
→
$media->content($content = null, $format = null)
↓
Back to Toolkit API section
Top