adding image rotation and storage prefix