In order to rotate your image:
1. Go to the Media Library.
2. Choose needed image and then click on the “Edit Image” button.
3. Then you can rotate your images and edit them https://prnt.sc/ghstnz. After you finished, press Save button. The changes will apply to the same image in your gallery.