$site->image()
Returns a specific image by filename or the first one
Parameters
Name | Type | Default |
---|---|---|
$filename | string |
null |
Return type
Kirby\Cms\File
|null
Returns a specific image by filename or the first one
Name | Type | Default |
---|---|---|
$filename | string |
null |
Kirby\Cms\File
|null