Last modified: 2010-05-15 15:38: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 T4720, the corresponding Phabricator task for complete and up-to-date bug report information.
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.