$dimension->orientation()

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

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…