This also rotates the actual image, not only the thumbnail