Add option to rotate image