$file->orientation()
Returns the orientation of image files as a string (landscape, portrait, square)
-
return (string)
Example
echo $page->image('my-image.jpg')->orientation();
// landscape, portrait or square
Returns the orientation of image files as a string (landscape, portrait, square)
echo $page->image('my-image.jpg')->orientation();
// landscape, portrait or square