Added image rotation