Unable to upload images

paasan

Joined: 2005-09-04
Posts: 1
Posted: Sun, 2005-09-04 14:08

I'm unable to upload images to my gallery, like here: http://paasan.net/gallery/view_album.php?set_albumName=Test

This is returned in debug mode:

Quote:
Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg
Getting Dimension of file: /home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg
No resizing required
Adding Photo to the photo list
File /home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg type 2.

Getting Dimension of file: /home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg
Generating thumbnail.
Resizing Image: /home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg
Getting Dimension of file: /home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg
Executing:
'/mnt/120g/system/netpbm/jpegtopnm' '/home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.jpg' | '/mnt/120g/system/netpbm/pnmscale' -xysize 200 200 | '/mnt/120g/system/netpbm/pnmtojpeg' --quality=95 > '/home/paasan/public_html/dotnet/albums/Test/DSCF2266_004.thumb.jpg'

Results:
none

Debug messages:
jpegtopnm: WRITING PPM FILE

As one of several results.

Please provide me with some useful tips as to how I shall proceed to solve the problem. It would be greatly appreciated :D

And this occurs when I try to upload a file using form:

Quote:
Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/paasan/public_html/dotnet/albums/Test/IMG_0510.jpg
Getting Dimension of file: /home/paasan/public_html/dotnet/albums/Test/IMG_0510.jpg
PHP's getimagesize() unable to determine dimensions.
Executing:
'/mnt/120g/system/netpbm/jpegtopnm' '/home/paasan/public_html/dotnet/albums/Test/IMG_0510.jpg' | '/mnt/120g/system/netpbm/pnmfile' --allimages

Results:
stdin: Image 0:

Debug messages:
Not a JPEG file: starts with 0xf8 0x20
pnmfile: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.

Status: 1 (expected 0)
Unable to determine image dimensions!
No resizing required
Adding Photo to the photo list
Call to getimagesize() failed in valid_image() for file /home/paasan/public_html/dotnet/albums/Test/IMG_0510.jpg!

Error: Invalid image: IMG_0510.jpg
Need help? Look in the Gallery FAQ
No email sent as no valid email addresses were found

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://paasan.net/gallery
Gallery version: Latest stable as of yesterday
Apache version: 2.0.40
PHP version (don't just say PHP 4, please):
Graphics Toolkit: NetPBM
Operating system: FreeBSD 4.3
Web browser/version (if applicable):