Fixed bug #7105: Default value of image_orient is invalid (Thanks to Steffen Kamper)