Mac OS X Finder filter image by orientation

How can I filter images by orientation in Finder to show only portrait/vertical images or only landscape/horizontal images?


From https://discussions.apple.com/thread/3481136:

  1. Search for images by pressing Command + F

    search for an image

  2. Add a search attribute

    add search attribute

  3. Pick the "Orientation" attribute

    look for "orientation search attribute

  4. Set "equals" to

    • 0 if you want landscape/horizontal,

    • 1 if you want portrait/vertical

    landscape vs portrait


On OS X El Capitan, to bring up the search screen I use the key combination Command F, instead of CTRL F.