Welcome to Geeklog, Anonymous Friday, March 21 2025 @ 03:52 pm EDT
Geeklog Forums
ImageMagic
Help please!!!
I keep getting this error:
Warning: copy(z:/www/images/userphotos/tmp.jpg): failed to open stream: No such file or directory in z:wwwsystemclassesupload.class.php on line 522
Couldn't copy z:/www/images/userphotos/tmp.jpg to z:/www/images/userphotos/BigBoss.JPG. You'll need remove both files
Everytime I try to upload a pic.
Here is my config.php:
$_CONF['image_lib'] = 'x:/web/ImageMagick/convert.exe';
and
$_CONF['path_to_mogrify'] = 'z:/www/images/userphotos';
What am I doing wrong, PLEASE!!!
email: rtcomp@hotpop.com
I keep getting this error:
Warning: copy(z:/www/images/userphotos/tmp.jpg): failed to open stream: No such file or directory in z:wwwsystemclassesupload.class.php on line 522
Couldn't copy z:/www/images/userphotos/tmp.jpg to z:/www/images/userphotos/BigBoss.JPG. You'll need remove both files
Everytime I try to upload a pic.
Here is my config.php:
$_CONF['image_lib'] = 'x:/web/ImageMagick/convert.exe';
and
$_CONF['path_to_mogrify'] = 'z:/www/images/userphotos';
What am I doing wrong, PLEASE!!!
email: rtcomp@hotpop.com
13
14
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
$_CONF['image_lib'] should be either 'imagemagick' or 'netpbm', depending on what is installed on your webserver. It should not be a path.
If you have imagemagick installed, $_CONF['path_to_mogrify'] should be the path to the actual executable. My linux box has it at '/usr/bin/mogrify'. It will be different for your machine. Find the path to mogrify and enter it there.
If you have imagemagick installed, $_CONF['path_to_mogrify'] should be the path to the actual executable. My linux box has it at '/usr/bin/mogrify'. It will be different for your machine. Find the path to mogrify and enter it there.
13
23
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Here are my settings as well, for your reference.
$_CONF['image_lib'] = 'imagemagick';
$_CONF['path_to_mogrify'] = '/usr/bin/mogrify';
Good Luck
$_CONF['image_lib'] = 'imagemagick';
$_CONF['path_to_mogrify'] = '/usr/bin/mogrify';
Good Luck
18
17
Quote
Status: offline
rtcomp
Forum User
Newbie
Registered: 01/04/04
Posts: 3
$@#$@^$%^# I incressed the file size but now my error is:
Image, Bob.jpg had trouble being resized: 'd:/ImageMagick' is not recognized as an internal or external command,
That is the file convert.exe Oh this is going to drive me nuts.
Bob
Image, Bob.jpg had trouble being resized: 'd:/ImageMagick' is not recognized as an internal or external command,
That is the file convert.exe Oh this is going to drive me nuts.
Bob
15
18
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by rtcomp: Image, Bob.jpg had trouble being resized: 'd:/ImageMagick' is not recognized as an internal or external command,
Looks like you still haven't set the path to mogrify properly. Compare with the examples the others posted above - you need to include the name of the mogrify executable in your path, not only point it to the directory.
bye, Dirk
17
12
Quote
All times are EDT. The time is now 03:52 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content