Hover over the image and click on the Rotate image icon that appears at the top-right corner.The image will rotate 90° clock wise.