*sigh* unable to make thumbnail... (edited)

tigerYAMATO

Joined: 2003-07-25
Posts: 4
Posted: Fri, 2003-07-25 19:42

Okay, I threw it into debug mode, and I get the following:

Quote:
Fetching Urls...
c:/bukkake/www/www/photos/DDR000001.jpg
Processing status...

- Adding DDR000001.jpg
Executing:

c:\bukkake\utils\bin\jpegtopnm c:\bukkake\www\www\albums\album01\DDR000001_001.jpg | c:\bukkake\utils\bin\pnmscale -xysize 150 150 | c:\bukkake\utils\bin\ppmtojpeg --quality=95 > c:\bukkake\www\www\albums\album01\DDR000001_001.thumb.jpg

Results:
none

Error messages:

Status: 0 (expected 0)
Error: Unable to make thumbnail (0)!

So, I tried running the whole command in at the command prompt..

Quote:
C:\BUKKAKE\www\www\albums\album01>copy c:\bukkake\www\www\photos\DDR000001.jpg c:\bukkake\www\www\albums\album01\DDR000001.jpg

C:\BUKKAKE\www\www\albums\album01>c:\bukkake\utils\bin\jpegtopnm c:\bukkake\www\www\albums\album01\DDR000001.jpg | c:\bukkake\utils\bin\pnmscale -xysize 150 150 | c:\bukkake\utils\bin\ppmtojpeg --quality=95 > c:\bukkake\www\www\albums\album01\DDR000001.thumb.jpg
JPEGTOPNM: WRITING PPM FILE
'PNMSCALE' is a PNM program name unknown to pnmmerge
PPMTOJPEG: EOF / read error reading magic number

----
Gallery version: the current one
Apache version: 1.3.27
PHP version: 4.2.0
Graphics Toolkit: http://flykc.com/netpbm/
Operating system: Windows

Edit:

I played around with the files, and it now runs just fine from command line, and makes the thumbnail and everything, but when I try it through the webpage, it errors.

apache's error log says:

Quote:
h^_h]aeZ^odhi_`g[]h\\j^^k__k_aj^`i]ah\`nbfl`dj]dj]dl_hl_hi\efZ\i`WnhZkd\g_\j`_i]]k]\tffk_avkqi_gobi~eiK$%4i]]k]\tffk_avkqi_gobi~eiK$%4ehq¢£¨¬«°¢£§¥¦ª?¡¤ª­²¡¥¨«¯²¹½¾²³·†…Šdajqpx¦§¬šž¡?‘

 
tigerYAMATO

Joined: 2003-07-25
Posts: 4
Posted: Tue, 2003-07-29 02:34

I understand that Windows 98 isn't supported, but I find it odd that both NetPBM AND ImageMagick give the same errors in apache's error log. Maybe it's not all that odd though, but..

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-07-29 11:47
 
tigerYAMATO

Joined: 2003-07-25
Posts: 4
Posted: Tue, 2003-07-29 22:56

YAY!! Thank you! Now I can finally get rid of the horrible script I made. :D