Wiki 不能显示缩略图

在使用 Wiki 的时候出现错误:

创建缩略图错误:sh: /usr/bin/convert: is a directory

情况如下图:

那是因为你的操作系统没有安装 ImageMagick

在 CentOS 操作系统下面使用下面的命令进行安装即可:[[email protected] bin]# yum install ImageMagick服务器输出:[code][[email protected] bin]# yum install ImageMagick
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size

Installing:
ImageMagick i386 6.2.8.0-4.el5_5.3 base 3.3 M

Transaction Summary

Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
ImageMagick-6.2.8.0-4.el5_5.3.i386.rpm | 3.3 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ImageMagick 1/1

Installed:
ImageMagick.i386 0:6.2.8.0-4.el5_5.3

Complete!
[[email protected] bin]# [/code]安装成功后,你的 Wiki 就可以显示缩略图了。