$file->base64()
Returns the content of the file as base64 encoded string
-
return (string)
Example
<?= $page->file()->base64() ?>
Is something missing or incorrect? Edit this page on Github…
Returns the content of the file as base64 encoded string
<?= $page->file()->base64() ?>