Rotate and save image

Hello, I’ve got this client that has a gallery, but this client manages to upload pictures side ways, and is blaming me for it, no matter how many times I tell him to rotate the pictures before he uploads them.

So to my question, is there a way I can rotate the images from Panel?

You can’t rotate images in the Panel, maybe you can use a post upload hook to try to rotate images automatically using some sort of library.

If you’re lucky he processes images in a way that doesn’t break the Exif Orientation Tag. Then you could use some autorotate code on upload.
But I’ve had a case where the editor used an old software that rotated images but didn’t change the Exif accordingly. It was then impossible to process them automatically.