Skip to content

Kirby 5.2.3

$image->isViewable()

Checks if a preview can be displayed for the file in the Panel or in the frontend

$image->isViewable(): bool

Return type

bool

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

Parent class

Kirby\Image\Image