Ajax Photo Upload

Set either height or width to preserve aspect ratio