$dimension->portrait()
Checks if the dimensions are "portrait"
-
return (boolean)
Example
<?php if($page->image()->dimensions()->portrait()): ?>
This image has been taken in portrait mode
<?php endif ?>
Checks if the dimensions are "portrait"
<?php if($page->image()->dimensions()->portrait()): ?>
This image has been taken in portrait mode
<?php endif ?>