How to resize an uploaded image based on the longest side?
To follow up on this question; ImageCache Actions now offers a feature called Aspect Switcher which allows for different image styles based on the original images aspect ratio, if it's portrait or landscape.