- [Detail] rotate image if needed