Is it possible to show orientation of featured image in post on single.php?
For example: Orientation of featured image is: portrait / landscape.
I have found that this could be done by calculating aspect ratio of image (width / height). For example image with dimensions 1600 x 1200 have aspect ratio 1.33333 (landscape) and 1200 x 1600 have aspect ratio 0.75 (portrait).
If you are interested to find more look on: