Skip to content

Kirby 4.2.0

$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

Parent class

Kirby\Image\Image