Last modified: 2013-01-05 16:11:17 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 T22312, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20312 - Error creating thumbnail: Image was not scaled, is the requested width bigger than the source?
Error creating thumbnail: Image was not scaled, is the requested width bigger...
Status: RESOLVED DUPLICATE of bug 39697
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://upload.wikimedia.org/wikipedia...
: shell
Depends on: 16451
Blocks: 41371
  Show dependency treegraph
 
Reported: 2009-08-19 15:46 UTC by Platonides
Modified: 2013-01-05 16:11 UTC (History)
11 users (show)

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


Attachments

Description Platonides 2009-08-19 15:46:17 UTC
Result:
"Error generating thumbnail

Error creating thumbnail: Image was not scaled, is the requested width bigger than the source?"


Expected result:
15px thumbnail of the 16×16 image.

That image worked before, but the thumb itself had probably been created a long time ago.
Comment 1 Brion Vibber 2009-08-19 19:46:26 UTC
Merging of bug 16451 fixes to deployment should help fix this up...
Comment 3 Timeshifter 2010-01-01 07:30:12 UTC
https://bugzilla.wikimedia.org/show_bug.cgi?id=16451
says the solution for Wikimedia sites is to remove the following 2 lines from CommonSettings.php 

 // Disable server-side GIF scaling
 $wgMediaHandlers['image/gif'] = 'BitmapHandler_ClientOnly';

CommonSettings.php is linked from here:
http://noc.wikimedia.org/conf 

See: 
http://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php 

See also the long discussion thread about animated GIF resizing linked in the table of contents here in the Common Graphics village pump:
http://commons.wikimedia.org/wiki/Commons:Graphics_village_pump#toc

The Commons thread says that system administrators can edit CommonSettings.php to remove the 2 lines. See: 
http://meta.wikimedia.org/wiki/System_administrators#List

Can someone please contact some system administrators? I don't use IRC. Andrew Garrett provided the fix for the animated GIF scaling problem according to 
https://bugzilla.wikimedia.org/show_bug.cgi?id=16451

Can he remove the 2 lines from CommonSettings.php? He is listed as a system administrator on the Wikimedia list. Can any system administrator remove the 2 lines from CommonSettings.php? Please do so. 
Comment 4 Timeshifter 2010-01-04 12:47:22 UTC
Wikia GIF scaling is working. Does this mean it will also work on Wikimedia sites?

I searched Wikia.com for animated GIFs:
*http://www.google.com/search?q=site%3Awikia.com+animated+gif

Here are some results of that search: 
*http://halo.wikia.com/wiki/Category:Animated_Gifs
*http://tinierme.wikia.com/wiki/Action_items

Compare the thumbnail and full-size versions of the images. GIF scaling is working. For example:
*http://halo.wikia.com/wiki/File:1217685012_Reallyhighskyjack.gif - 1.55 megabytes.
*[http://images4.wikia.nocookie.net/halo/images/thumb/b/b5/1217685012_Reallyhighskyjack.gif/120px-1217685012_Reallyhighskyjack.gif thumbnail of same image] at 175 kilobytes. 
Comment 5 Roan Kattouw 2010-01-04 20:38:32 UTC
(In reply to comment #3)
> https://bugzilla.wikimedia.org/show_bug.cgi?id=16451
> says the solution for Wikimedia sites is to remove the following 2 lines from
> CommonSettings.php 
> 
>  // Disable server-side GIF scaling
>  $wgMediaHandlers['image/gif'] = 'BitmapHandler_ClientOnly';
> 
I tried this on testwiki and it didn't work: http://test.wikipedia.org/wiki/File:Neue_Gedichte_%28Heine_1852%29_A_003.gif
Apparently it's breaking somewhere but I don't know where.
Comment 6 Roan Kattouw 2010-01-04 21:37:58 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > https://bugzilla.wikimedia.org/show_bug.cgi?id=16451
> > says the solution for Wikimedia sites is to remove the following 2 lines from
> > CommonSettings.php 
> > 
> >  // Disable server-side GIF scaling
> >  $wgMediaHandlers['image/gif'] = 'BitmapHandler_ClientOnly';
> > 
> I tried this on testwiki and it didn't work:
> http://test.wikipedia.org/wiki/File:Neue_Gedichte_%28Heine_1852%29_A_003.gif
> Apparently it's breaking somewhere but I don't know where.
> 

Never mind, I'm an idiot, it does work. Enabled on all wikis now.

Repurposing bug back to original report per Tim.
Comment 8 Paul Kaganer 2012-09-21 16:34:11 UTC
See also http://commons.wikimedia.org/wiki/Category:Saint_Alexander_Nevsky_Church_(Peterhof) - many files without thumbinail!  (all uploaded 2011-09-14, 19:17)

Please fix this annoying problem.
Comment 9 Aaron Schulz 2012-09-21 17:51:26 UTC
(In reply to comment #8)
> See also
> http://commons.wikimedia.org/wiki/Category:Saint_Alexander_Nevsky_Church_(Peterhof)
> - many files without thumbinail!  (all uploaded 2011-09-14, 19:17)
> 
> Please fix this annoying problem.

Is that even related to this bug? Sounds more like bug 39697.
Comment 10 Paul Kaganer 2012-09-21 22:33:02 UTC
A-a-a... Long names! I'm sorry, possible this true bug 3967. Thanks!
Comment 11 Bryan Tong Minh 2012-10-25 17:43:42 UTC
Working now?
Comment 12 Marco 2012-11-26 08:31:58 UTC
Jup, seems to work fine.
Comment 13 Andre Klapper 2012-11-26 12:07:30 UTC
Cannot reproduce either with given examples. Closing report as WORKSFORME but please reopen (and provide a specific example) if this problem happens again.
Comment 14 Nemo 2013-01-05 16:11:17 UTC

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

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


Navigation
Links