Added image rotation code