Skip to content

Kirby 4.1.2

$image->orientation()

Returns the orientation as string landscape | portrait | square

$image->orientation(): string|false

Return type

string|false

Parent class

Kirby\Image\Image