Skip to content

Kirby 4.2.0

$kirby->image()

Return an image from any page specified by the path

$kirby->image(?string $path = null): Kirby\Cms\File|null

Parameters

Name Type Default
$path string|null null

Return type

Kirby\Cms\File|null

Parent class

Kirby\Cms\App