$file->image()
Returns the Panel image definition
$file->image(array|string|false|null $settings = [ ], string $layout = 'list'): array|null
Parameters
| Name | Type | Default |
|---|---|---|
| $settings | arrayorstringorfalseornull |
[ ]
|
| $layout | string |
'list'
|
Return types
arrayornull
This method modifies the existing $file object it is applied to and returns it again.
Parent class
Kirby\Panel\File
inherited from Kirby\Panel\Model