Last modified: 2009-01-05 17:16:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18892, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16892 - Some images are being served full-size, not thumbnailed
Some images are being served full-size, not thumbnailed
Status: RESOLVED DUPLICATE of bug 16451
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.14.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/User:Si...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-05 16:46 UTC by Dan Jacobson
Modified: 2009-01-05 17:16 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2009-01-05 16:46:46 UTC
Gentlemen, on pages like
http://commons.wikimedia.org/wiki/Category:PD_US_Military
there is a big problem.

If any file's name starts with a digit, no thumbnail is produced.
Instead the whole giant image is pulled into the user's browser.

This is a big waste of bytes.

The software (please reassign bug if necessary) somehow thinks that
the image must already bear a NNpx number-pixel name, and must already
be a thumbnail, but this is not the case.

Of course this waste is hidden through many, many, many layers of CSS. And
there is also HTML "height=" and "width=".

But if the user is using a text browser like emacs-w3m, the giant
images "blow up in his face" to the true reality of the situation:
monster images amongst normal thumbnails.

The images that sail through without being thumbnailed with the above
example page are:
$ GET http://commons.wikimedia.org/wiki/Category:PD_US_Military |
perl -wlne 'm@src="http://upload.wikimedia.org/wikipedia/commons/./../(\d[^"]+)@&&print $1'
030910-N-0743B-003-patrol.gif
091506bhigh.gif
091506high.gif
1-501pir.gif
12-inch-railway-mortars.gif
28-1433a_Mauthausen.gif
777px-Marlborough27s_march_to_the_Danube_1704.gif
81mm-mortar-massa-italy.gif
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2009-01-05 17:09:32 UTC
Added better test case to URL, improved summary.  CCing Aaron, he knows more about image scaling than I do.
Comment 2 Raimond Spekking 2009-01-05 17:16:58 UTC

*** This bug has been marked as a duplicate of bug 16451 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links