Skip to content

Kirby 5.0.2

$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