Adjusted photo size based on proportions