add rotate image solution.