Posted by Xenophon on November 30, 2012 at 2:02pm
Hi all,
I'm dealing with a situation and I'm not quite sure what's the best solution. I'm having a site with a fixed size div: 530px X 340px (WxH).
In that box the client should be able to upload pic's that are resized down and cropped. I'm using the drupal.org/project/imagefield_crop module to let the client crop the proper part of the image.
To make things difficult, if a Portrait image is used the height should be max 340px, and may use a shorter width then 530px. (Let's say 340px X 200) would be OK.
What strategy would you recommend? Too make things clear, i've attached a picture of my situation.
Comments
Try image cache actions >
Try image cache actions > aspect switcher to have two different styles for portrait and landscape.