Last modified: 2010-05-15 15:48:27 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 T11047, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9047 - ImageMagick does not Thumbnail some Pictures at MediaWiki
ImageMagick does not Thumbnail some Pictures at MediaWiki
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.9.x
All Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.theologiewiki.de/wiki
:
Depends on:
Blocks:
  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: ---


Attachments

Description André Mondri 2007-02-21 12:54:10 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
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
* http://www.mediawiki.org/wiki/Manual:$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.


Navigation
Links