Skip to content

Kirby 5.0.4

$defaultFilePreview->image()

Icon or image to display as thumbnail

$defaultFilePreview->image() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$defaultFilePreview->image(): array|null

Return types

arrayornull

This method modifies the existing $defaultfilepreview object it is applied to and returns it again.

Parent class

Kirby\Panel\Ui\FilePreviews\DefaultFilePreview inherited from Kirby\Panel\Ui\FilePreview