Last modified: 2010-05-15 15:48:27 UTC
Hi, 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 : http://www.theologiewiki.de/wiki/Eschatologie 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
That settings is for a *command*, not a *path*. In your case, it probably should be: $wgImageMagickConvertCommand = "/usr/local/IM6/bin/convert";
So why is this not documented at the Configurationinstructions? Thanks ...
(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 * http://www.mediawiki.org/wiki/Manual:$wgImageMagickConvertCommand, while cryptic at the moment, *does* indicate that this is a command, not a path