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