Skip to content

Kirby 4.4.1

$image->orientation()

Returns the orientation as string landscape | portrait | square

$image->orientation(): string|false

Return type

string|false

Parent class

Kirby\Image\Image