modify image source direction