$file->isSquare()
Checks if the image is square
-
return (boolean)
Example
<?php if($page->image()->isSquare()): ?>
This image is square
<?php endif ?>
Checks if the image is square
<?php if($page->image()->isSquare()): ?>
This image is square
<?php endif ?>