Page MenuHomePhabricator

ImageMagick does not Thumbnail some Pictures at MediaWiki
Closed, InvalidPublic

Description

Author: webmaster

Description:
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


Version: 1.9.x
Severity: major
OS: Linux
URL: http://www.theologiewiki.de/wiki

Details

Reference
bz9047

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:36 PM
bzimport set Reference to bz9047.
bzimport added a subscriber: Unknown Object (MLST).

That settings is for a *command*, not a *path*. In your case, it probably should be:

$wgImageMagickConvertCommand = "/usr/local/IM6/bin/convert";

webmaster wrote:

So why is this not documented at the Configurationinstructions? Thanks ...

robchur wrote:

(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

cryptic at the moment, *does* indicate that this is a command, not a path