Page MenuHomePhabricator

"thumbnail" or "thumb" embed fails on Tulsi Gabbard.jpg unless pixel width specified
Closed, ResolvedPublic

Description

Author: sumanah

Description:
If I try to embed a thumbnail of https://commons.wikimedia.org/wiki/File:Tulsi_Gabbard.jpg into a page, simply using "thumb" or "thumbnail" does not work.

Examples: see

https://commons.wikimedia.org/w/index.php?title=User:Sumanah/Sandbox&oldid=85495398

So, for example, this usage does NOT work:

[[File:Tulsi Gabbard.jpg|thumbnail|left|This ought to be a thumbnail of the "Tulsi Gabbard.jpg" image, using the "thumbnail" argument.]]

However, this usage (adding a specific pixel width) DOES work:

[[File:Tulsi Gabbard.jpg|65px|thumbnail|Let's try 65 pixels.]]

And in contrast, thumbnailing with a different image ([[File:2LT Tulsi Gabbard Tamayo.jpg]]) works just fine whether I specify a width or not.

[[File:Tulsi Gabbard.jpg]] is 1.9MB and 3,190,000 pixels, which is smaller than [[File:Tomb of Safdarjung, New Delhi.jpg]] (which thumbnails just fine). So it's not a size issue. And I ran im.verify() from the Python Imaging Library against the image and didn't find any corruption issues, so the JPEG isn't corrupt. So I don't know why thumbnailing has broken for this specific file.

Not sure whether this is related to bug 41130.


Version: wmf-deployment
Severity: normal
URL: https://commons.wikimedia.org/wiki/File:Tulsi_Gabbard.jpg

Details

Reference
bz43357

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:03 AM
bzimport set Reference to bz43357.
bzimport added a subscriber: Unknown Object (MLST).

So, for example, this usage does NOT work:

[[File:Tulsi Gabbard.jpg|thumbnail|left|This ought to be a thumbnail of
the "Tulsi Gabbard.jpg" image, using the "thumbnail" argument.]]

Works for me on https://commons.wikimedia.org/wiki/User:Malyacko/Sandbox and shows a thumbnail of 220px × 276px.

sumanah wrote:

screenshot of missing thumbnail on https://commons.wikimedia.org/wiki/User:Malyacko/Sandbox

Andre, I took a screenshot of that page within your sandbox and found that the thumbnail does not display for me! So maybe this is a browser issue? I have HTTPS Everywhere turned on and am using Firefox 16.0.2 on Ubuntu.

Attached:

bug-43357.png (269×339 px, 14 KB)

Firefox 17.0.1 without HTTPS Everywhere on Fedora 16 here.
Might be bug 41130 again.

Sumana: Do you still face this problem after the datacenter move?

sumanah wrote:

The problem is fixed - I checked https://commons.wikimedia.org/wiki/User:Malyacko/Sandbox and https://commons.wikimedia.org/w/index.php?title=User:Sumanah/Sandbox&oldid=85495398 and they all show up now. Perhaps the data center move fixed it. Thanks.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:25 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:23 AM