You cannot rotate images in Google Drive by default, but you can use some Google apps like Google Drawings or Google Photos for that.   Google Drive doesn’t show the Google Photos edits in your original file. You have to save the edited photo separately to view its fixed orientation.