So basically I want the aspect ratio of an uploaded image that has over 700px width scaled down do 700, no its easy enough to resize the width, but, as i want to keep the aspect ratio of the image, i need to find out how to calculate this and resize the image accordingly.
Hope someone an help.