I was going through some old files, categorizing them and I noticed that the vertical images are not rotated the right way".

and

It's not for all of the vertical images and I could do i manually but it would be very painful, too many of them.
Is there a way of have XnViewMP display the thumbnail, proper side up?
Thanks