$file->image()
Returns the Panel image definition
$file->image(array|string|false|null $settings = [ ], string $layout = 'list'): array|null
Parameters
| Name | Type | Default |
|---|---|---|
| $settings | array|string|false|null |
[ ] |
| $layout | string |
'list' |
Return type
array|null
Parent class
Kirby\Panel\File inherited from Kirby\Panel\Model