Skip to content

Kirby 4.2.0

$image->isLandscape()

Checks if the dimensions of the asset are landscape

$image->isLandscape(): bool

Return type

bool

Parent class

Kirby\Image\Image