Sometimes images are presented rotated through metadata, rather than actually rotating the image. Check the metadata on the original to see if it includes this. Then open an issue on lemmy's github project, if there isn't one already.
Or maybe it's just its way of telling you that you should be taking pictures like that in landscape orientation.