Skip to content

Kirby 6.0.0

$kirby->image()

Return an image from any page specified by the path

$kirby->image(string|null $path = null): File|null

Parameters

Name Type Default
$path stringornull null

Return types

Kirby\Cms\Fileornull

Parent class

Kirby\Cms\App