$dimension->orientation()

Returns the orientation of the image as string (landscape|portrait|square)

  • return (string)

Example

<?php echo $page->image()->orientation(); ?>