$media->orientation()
Returns the orientation of image files as a string (landscape, portrait, square)
-
return (string)
Example
echo $media->orientation();
// landscape, portrait or square
Returns the orientation of image files as a string (landscape, portrait, square)
echo $media->orientation();
// landscape, portrait or square