Skip to content

Kirby 5.0.4

$image->base64()

Returns the file content as base64 encoded string

$image->base64(): string

Return type

string

This method modifies the existing $image object it is applied to and returns it again.

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File