Limit the max width to 800px & scale height with correct ratio