Some users reported issues while mirroring images from Wikipedia Commons to Mogirlpedia Commons. The image is expected to be "rotated" but actually not. Further tries suggest that certain platforms' behavior handling device position might affect image behavior in Moegirlpedia Commons.
After reviewing these files, we found out that these files have some common issue in their metadata. Size information (width & height) in metadata differs from actual pixel matrix.
EXIF information is disregarded by current resize script, hence the problem occurs.
Force correct pixel matrix and dispose EXIF information in image processing software like Photoshop.
Update: Further test indicates Microsoft Paint 3D (shipped with Windows 10 Version 1703, aka Creators Update) encounters problems while re-saving such image. Do not use it for this workaround at this moment (17/4/1, not an April Fools joke LOL).
While some portrait image misbehaves as described, some images do things right (metadata matched). It's not clear whether these images have been software-corrected prior to uploading.
- Respect EXIF information in resize script to reduce post-upload work (e.g. resizing in Wikitext/HTML code).
- Stay with the status quo because this issue is not related to most images in Moegirlpedia.