Auto resizing JPG images to 1000px and 85% quality