Proper portrait/landscape detection for cover images