Last modified: 2010-05-15 15:38:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2720 - Image resizing fails (using GD library) due to wrong $this->type in Image.php
Image resizing fails (using GD library) due to wrong $this->type in Image.php
Status: RESOLVED DUPLICATE of bug 2780
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-07-06 02:13 UTC by Jan Eglinger
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Description Jan Eglinger 2005-07-06 02:13:05 UTC
I installed MediaWiki 1.5beta1 on an Apache/1.3.29 (Unix) environment with CGI
PHP Version 4.3.10 and external MySQL 4.0.20 (not localhost) with enabled
uploads, using GD library 2.0 or higher.

Image resizing fails as well with thumb and with nnnpx options. In
includes/Image.php the variable $this->type has the value "BITMAP" for jpeg and
png files.
The switch/case statement asks for numbers, not strings... I could not find how
the script exactly determined the mime type, I guess there's an error somewhere
in includes/MimeMagic.php ?
Comment 1 Zigger 2005-07-14 03:33:11 UTC

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

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