$dimension->orientation()

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

  • return (string)

Example

<?= $page->image()->orientation(); ?>