Scale images to a max of 1000px.