$dimension->landscape()

Checks if the dimensions are "landscape"

  • return (boolean)

Example

<?php if($page->image()->landscape()): ?>
This image has been taken in landscape mode
<?php endif ?>

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