Solution for problem [Rotate Image]