Steps to replicate the issue (include links if applicable):
- Navigate to an article (example: Ryan Coogler
- Scroll down to the second image in the article (Example: Coogler accepts the US Grand Jury Prize)
- Tap the image
- Rotate the device to landscape mode
What happens?:
In some cases, like the Ryan Coogler example, portions of the 1st image appear on the left side of the screen and portions of the 2nd image on the right. In other cases (Example: Barack Obama), tapping the second image (Obama with grandfather) and rotating causes an image from the infobox to appear.
This only seems to happen once per entering the image viewer. Subsequent swipes and rotations do not reproduce the same issue.
Overall
What should have happened instead?:
The image should stay centered after rotating.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Tested on 2.7.50529-beta-2025-04-21
Other information (browser name/version, screenshots, etc.):
Ryan Coogler after rotation
Obama before/after rotation
Chocolate



