$file->isLandscape()
Checks if an image file has been taken in landscape mode
-
return (boolean)
Example
<?php if($page->image()->isLandscape()): ?>
This image has been taken in landscape mode
<?php endif ?>
Checks if an image file has been taken in landscape mode
<?php if($page->image()->isLandscape()): ?>
This image has been taken in landscape mode
<?php endif ?>