cant upload....ImageMagick error? error code included cant upload....ImageMagick error? error code included
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

cant upload....ImageMagick error? error code included

Started by user3657, December 28, 2006, 08:46:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

user3657

let me first get started by saying imagem was installed but when installing coppermine it said something about the dir had a space in it and it would cause problems so i reinstalled it just naming it ImageMagick and coppermine still said the same thing, i gave up and just left it blank and thought id fill it in later.

ImageMagick seems to be installed sucessfully, i can open dos and convert images and have them displayed.

i have the dir set as: C:/Program Files/ImageMagick/ and i gave the dir full permissions along with the coppermine dir just to weed this issue out.

when trying to upload pics, i get this:





The file 'albums/userpics/10001/cormier001kl9.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: -1


Cmd line :
C:/Program Files/ImageMagick/convert -quality 80 -antialias -geometry 100x77 "C:\Inetpub\wwwroot\cpg1410\albums\userpics\10001\cormier001kl9.jpg" "C:\Inetpub\wwwroot\cpg1410\albums\userpics\10001\thumb_cormier001kl9.jpg"



The convert program said:



File: C:\Inetpub\wwwroot\cpg1410\db_input.php - Line: 402

Stramm

ImageMagick is not installed or not installed properly... switch to GD2 instead

user3657

ive been reading all day, and just found out how to enable gd2, and the uploads are working now. i would of tried this along time ago if i knew how to enable it before lol.

but imagemagick is installed, and i can convert images using the cmd line. i know the galley is working with gd2 now but this is bothering me and i wanna see if i can fix it. any tips?

user3657

ps....i just enabled thumbnails on my fourm using imagemagick(just to test it), and uploaded a file and it created the thumbnail. so i dunno

Nibbler

If you still want to try IM then try installing it into a path without spaces.

user3657

is "Program Files" the problem? i guess ill uninstall then reinstall into a new dir