First off, I host my own website, so I have root access.
My website platform
- Windows XP Pro
- Apache 1.3.26
- PHP 4.2.2
- MySQL 3.23.49
I have downloaded and installed the NetPBM Win32 pre-compiled binaries from the Gallery website. In fact, what I'm trying to do is migrate my photo albums from this package to 4Images. So, I know that the version of NetPBM I have works when resizing images or creating thumbnails. Check out
http://fastnsilver.mine.nu/gallery to see proof that I'm not lying.
However, NetPBM fails to work for my 4Images install.
I have installed version 1.7 of 4Images Gallery.Every time I try to create a thumbnail I get a message like...
Create thumbnail for: 122 2237 IMG (122_2237_IMG.jpg) ....
Error creating thumbnail!
Upon checking the Apache error log I see...
'c:\netpbm\bin' is not recognized as an internal or external command,
operable program or batch file.
I have tried a number of combinations for the NetPBM path
c:\netpbm\bin
\netpbm\bin << this wouldn't work anyway but I had to try
g:\wwwroot\bin << wwwroot is my webserver's root directory
all result in the above errors.
So then, I thought "hmmm" let me check to the source code to see if the path is getting set correctly.
The two places I looked were
/admin/thumbnailer.php
/includes/image_utils.php
But I'm really a novice when it comes to debugging PHP.
Any ideas how to proceed?
Thanks!
(a would-be 4Images convert)