$kirby->image()
Return an image from any page specified by the path
$kirby->image(string|null $path = null): Kirby\Cms\File|null
Parameters
Name | Type | Default |
---|---|---|
$path | string ornull |
null
|
Return types
Kirby\Cms\File
ornull
This method modifies the existing $app
object it is applied to and returns it again.