Skip to content

Kirby 4.1.2

$image->isPortrait()

Checks if the dimensions of the asset are portrait

$image->isPortrait(): bool

Return type

bool

Parent class

Kirby\Image\Image