Skip to content

Kirby 4.2.0

$image->isPortrait()

Checks if the dimensions of the asset are portrait

$image->isPortrait(): bool

Return type

bool

Parent class

Kirby\Image\Image