ImageMagick

Status
Not open for further replies.

SeiferTim

New Member
Messages
16
Reaction score
0
Points
0
I've installed MediaWiki, which I'm using to write documentation for a free code project that I'm working on.
I would really like to be able to include Image Thumbnails in the wiki, but it would appear that MediaWiki uses the passthru function to create thumbnails with ImageMagick.

I would really prefer not to have to try and upgrade to the Advanced PHP to get this to work... does anyone know of any other way that I can use the built-in [[Image|thumb]] option in MediaWiki that doesn't require using passthru? I've tried disabling ImageMagick in my LocalSettings.php, which prevents the error, but nothing shows up where the thumbnail should be...

Thanks.
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Check if there is an option to switch from ImageMagick to GD. PHPv2 supports GD libraries.
 
Last edited:

SeiferTim

New Member
Messages
16
Reaction score
0
Points
0
Check if there is an option to switch from ImageMagick to GD. PHPv2 supports GD libraries.

According to MediaWiki's documentation, setting "UseImageMagick" to false switches back to GD, but that still doesn't seem to work.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I've verified GD is working correctly on your server. Does MediaWiki offer any type of support?
 

SeiferTim

New Member
Messages
16
Reaction score
0
Points
0
I've verified GD is working correctly on your server. Does MediaWiki offer any type of support?

Yes, but that's not working either, it would seem.
http://seifertim.exofire.net/wiki/index.php?title=TARGEngine:Maps,_Tiles,_and_Doors
The "Sample Map" on the right should be a thumbnail of http://seifertim.exofire.net/wiki/index.php?title=Image:Sample_map.png, but it's not showing it properly.
If I turn on ImageMagick, it says that passthru is disabled, which makes sense since I don't have the Advanced PHP, but when I disable ImageMagick, it should be using GD, and it just shows the blank thumbnail...

Edit: you should be able to see what I'm talking about now, the server stopped working (again :( ) just as I was saving my edits, so it took awhile before I could save it again.

Edit 2: I deleted all my uploaded images, turned off ImageMagick, and then re-uploaded one of the images, and now it works. Not sure what was wrong. Thanks anyway.
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Well, I like problems that solve themselves =p

I'll go ahead and close this then. Please re-open if further assistance is needed.

-Corey
 
Status
Not open for further replies.
Top