Page MenuHomePhabricator

Incorrect image is displayed of 2x asset (potentially in SVG-PNG converter)
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue

What happens?:
It is missing chemical bond paths or symbol

What should have happened instead?:
When you open image directly, it shows chemical bond (correct image) and small version should also show correct image.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
It is wikipedia.

Other information (browser name/version, screenshots, etc.):
Safari 18.3 (macOS 15.3)

Screenshot 2025-02-04 at 18.48.09.png (602×592 px, 37 KB)
<- Incorrect
image.png (1×2 px, 438 KB)
<- Correct (on full view)

Image URL - https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/EMB_Cholestenone_epoxide.svg/2880px-EMB_Cholestenone_epoxide.svg.png

^ Notice, it has svg.png. Hence, it is assumed that it is SVG-PNG image generator / converter issue.

Event Timeline

Interesting. Original file is https://commons.wikimedia.org/wiki/File:EMB_Cholestenone_epoxide.svg . Looks fine to me on desktop, which shows https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/EMB_Cholestenone_epoxide.svg/120px-EMB_Cholestenone_epoxide.svg.png . However, when I turn on the mobile simulator, I get https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/EMB_Cholestenone_epoxide.svg/240px-EMB_Cholestenone_epoxide.svg.png which looks wrong.

I purged the file and now it renders correctly, so this was likely an old bug that has since been fixed but the old thumbnail was not updated.