debug rotation and image download