Last modified: 2010-05-15 15:48:27 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 9047 - ImageMagick does not Thumbnail some Pictures at MediaWiki
ImageMagick does not Thumbnail some Pictures at MediaWiki
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-21 12:54 UTC by André Mondri
Modified: 2010-05-15 15:48 UTC (History)
0 users

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


Description André Mondri 2007-02-21 12:54:10 UTC

i entered my ImageMagick Path to LocalSettings.php and everthing seems to work fine.

But in some Cases it does not work at MediaWiki to thumbnail some Pics.

Example :

The Picture lochner-weltgericht.jpg works fine as [[Bild:lochner-weltgericht.jpg|right]]

but not as : [[Bild:lochner-weltgericht.jpg|thumb|right]]

Errormessage : "Fehler beim Erstellen des Vorschaubildes: sh: line 
1: /usr/local/IM6/bin/: is a directory "

Supportrequest at my Webhoster says it has to be a MediaWiki Problem. At my vBulletin 
Installation on the same Server all Thumbails works well with the same ImageMagick.

My ImageMagick Path is : $wgImageMagickConvertCommand = "/usr/local/IM6/bin/";

Same Problem at some (not all!) *.gifs and *.jpgs
Comment 1 Daniel Kinzler 2007-02-21 12:57:18 UTC
That settings is for a *command*, not a *path*. In your case, it probably should be:

$wgImageMagickConvertCommand = "/usr/local/IM6/bin/convert";
Comment 2 André Mondri 2007-02-21 13:00:22 UTC
So why is this not documented at the Configurationinstructions? Thanks ...
Comment 3 Rob Church 2007-02-21 17:39:17 UTC
(In reply to comment #2)
> So why is this not documented at the Configurationinstructions? Thanks ...

Well, which instructions?

* The word "command" appears in the name
* The default and example values point to commands
* There's exhaustive commenting on it in includes/DefaultSettings.php, near
$wgImageMagickConvertCommand and $wgCustomConvertCommand
*$wgImageMagickConvertCommand, while
cryptic at the moment, *does* indicate that this is a command, not a path

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