Page 1 of 1

Posted: 2006-11-08T16:00:56-07:00
by Bonzo
Can you modify the bit of code at the bottom of this page ?

http://www.rubblewebs.co.uk/imagemagick/code.php

Posted: 2006-11-08T17:19:07-07:00
by Bonzo
I was not thinking; one problem I find is that if you put /cygdrive/e/tmp/album/IMG_1705.JPG in the code it can throw an error.

If you put $image = "/cygdrive/e/tmp/album/IMG_1705.JPG "; and use $image in your code it works.
I do not know why and it could just be my server setup; this is assuming you are using php.

You are also escaping some " but not all; is this just a typing error?

Posted: 2006-11-08T19:04:37-07:00
by anthony
Could it be that your filename has a space character in it?? You have space in the quotes which seems to indicate that is the case. Remember ALL characters except NULL and slash are actually valid characters under UNIX filesystems, though may not be valid under cgiwin and its use of the windows vfat/ntfs filesystems.