Saturday 23 August 2003 7:58:03 am
I am running ez3.1-1 (SVN 2703) on Win2k. I have also installed imagemagick and tested that it works. I just cannot seem to get images to display. I get the following debug errors:
Warning: Exec: imconvert.exe -geometry "150x150>" var/storage/reference/image//phpF.tmp.jpg jpg:var/storage/variations/image/p/h/p//phpF_150x150_200.tmp.jpg, Err: , Ret: 1
Warning: getimagesize(var/storage/variations/image/p/h/p/phpF_150x150_200.tmp.jpg): failed to open stream: No such file or directory in c:\www\rcc\htdocs\kernel\classes\datatypes\ezimage\ezimagevariation.php on line 234
Warning: filesize(): Stat failed for var/storage/variations/image/p/h/p/phpF_150x150_200.tmp.jpg (errno=2 - No such file or directory) in c:\www\rcc\htdocs\kernel\classes\datatypes\ezimage\ezimagevariation.php on line 249
As you can see, I have tried renaming the convert.exe executable. I also changes my image.ini.append.php to read:
[ShellSettings]
ConvertPath=d:\program files\imagemagick-5.5.6-q16 ConvertExecutable=imconvert.exe
When I load an image into an article, the image file get uploaded to my
var/storage/original/image/ directory.
If I look at the debug code, it seems that ez is looking in the var/storage/reference/image/ directory which remains empty. I suspect this has something to do with the problem, but I don't know how to fix it.
If I copy the .tmp.jpg file from the original directory to the reference directory, it still doesn't work but: if I then go to a command prompt, cd to my webserver root and then copy & paste the convert - geometry..... line from the debug message, the image is converted and then visible. Any ideas???
*******************************************
*** UPDATE: It works fine using ez3.2 Beta 1
*** Does this mean this is a bug in ez3.1-1? *******************************************
|