'unable to make thumbnail (0)'
theflatlander
Joined: 2004-06-15
Posts: 11 |
Posted: Thu, 2004-07-22 15:57 |
i cant upload pics. i think the netpbm thingy is not installed. but how to do when my server installed the gallery for me? www.airbornehjem.com/gallery |
|
Posts: 2322
FAQ Gallery:c.31
Enable debug, try an upload using the form, and paste the results.
Posts: 13
having a similar problem. I've always used 1.34 and now I'm using 1.43 and there seems to be an issue with making thumbnails
have enabled debugging -
not sure where to go - the paths are all correct.. chmod of netpbm folder tried at 755 and 777. any ideas?
Posts: 2322
You had the right idea, but you need to chmod the files *in* the folder as well...
so,
Posts: 13
that helped- wish I'd thought of it myself
still afew arithmethic bugs but it's working
cheers
Posts: 11
Processing status...
- Adding DSC00401.JPG
Resizing/compressing original image
No resizing required
File /home/airborne/public_html/gallery/albums/bmx/DSC00401_006.jpg type 2.
Executing:
'imagemagick/convert' -quality 90 -size 150x150 +profile '*' '/home/airborne/public_html/gallery/albums/bmx/DSC00401_006.jpg' -geometry 150x150 '/home/airborne/public_html/gallery/albums/bmx/DSC00401_006.thumb.jpg'
Results:
none
Error messages::
sh: line 1: imagemagick/convert: No such file or directory
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
........................i hav waited now 49 minutes to upload imagemagick. and now it cant convert.
Posts: 2322
You need to use a full path to the files in the config wizard.
"/home/airborne/imagemagick/" (or whatever is appropriate)
A relative path ("imagemagick") will not work.
Posts: 11
its in the public_html area. were i have index, gallery, guestbook. and all that stuff
Posts: 11
it look like , inside the imagemagic folder. theres no convert folder. or a file that have the name
Posts: 2322
FAQ Gallery:c.32
Posts: 11
Processing status...
- Adding DSC00401.JPG
Resizing/compressing original image
No resizing required
File /home/airborne/public_html/gallery/albums/bmx/DSC00401_006.jpg type 2.
Executing:
'/home/airborne/public_html/imagemagick/convert' -quality 90 -size 150x150 +profile '*' '/home/airborne/public_html/gallery/albums/bmx/DSC00401_006.jpg' -geometry 150x150 '/home/airborne/public_html/gallery/albums/bmx/DSC00401_006.thumb.jpg'
Results:
none
Error messages::
sh: line 1: /home/airborne/public_html/imagemagick/convert: No such file or directory
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
as i say. look like the image magick directory havnt the convert thingy. u got an link to one that work? cuzz i only searched the net
Posts: 2322
We don't provide ImageMagick because it often relies on too many external factors.
You can download NetPBM from our download pages and switch to using that.
Posts: 11
when i am done with config. it says u got one error. u need netpbm 9.9 or higher.
Posts: 2322
Did you extract and upload the NetPBM files from our site? All of our files are 9.9 or higher.
Run the setup/check_netpbm.php script and see what it says.
Posts: 11
i downloaded form here yes
Posts: 11
but it still not look like it is version 9.9 or higher. i got the samae error with the netpbm
Posts: 11
now i downloaded this netpbm_gallery-1.4-pl2-freebsd-4.8.zip and uploaded it to my server. and still get this error:
Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from the Gallery Download Page. Or, you can compile and install the entire NetPBM package from the NetPBM website.
Note: You can install the binaries from the Gallery site even if you don't have root access on your box! If you can't get it working, try leaving the NetPBM path blank and using ImageMagick instead.
Posts: 2322
Did you unzip the file, first?
Posts: 11
ofcourse i did
Posts: 2322
Well, you didn't mention that.
Where did you upload it to? Did you set that path in the config?
Have you contemplated paid support?
Posts: 11
/home/airborne/public_html/netpbm. i set that path in the configureation wizard. pid support. hmm. my credit card doesnt work online yet.
Posts: 5
I am getting the same error when I try to upload pics also. It seems to be a issue with the new version of gallery and the apache version I am running. I have netpbm and imagemagkic installed correctly. When I get to the Install screen before installing everything is green except lang. here is my output from the debug
FreeBSD 5.2.1
Apache 1.3.31
PHP 4.3.8
Processing status...
- Adding DSC01251.jpg
Resizing/compressing original image
No resizing required
File /usr/local/apache/htdocs/gallery/albums/album01/DSC01251_001.jpg type 2.
Executing:
'/usr/local/bin/convert' -quality 100 -size 250x250 +profile '*' '/usr/local/apache/htdocs/gallery/albums/album01/DSC01251_001.jpg' -geometry 250x250 '/usr/local/apache/htdocs/gallery/albums/album01/DSC01251_001.thumb.jpg'
Results:
none
Debug messages::
convert: no decode delegate for this image format `/usr/local/apache/htdocs/gallery/albums/album01/DSC01251_001.jpg'.
convert: missing an image filename `/usr/local/apache/htdocs/gallery/albums/album01/DSC01251_001.thumb.jpg'.
Posts: 2322
There isn't an issue with Gallery and Apache.
The problem you are seeing is that your ImageMagick is missing libraries it needs to decode some image formats. You should re-install ImageMagick from ports and make sure and select all of the available libraries when it gives you the option. If that doesn't work, install the netpbm port.
If this isn't your server, then you should download netpbm from our download pages, and configure using that.
Posts: 5
Thanks for taking the time to leave a message. I will give this a try and reply my findings.
- Jeff
Posts: 5
Works Like A Charm -
Reinstalled ImageMagick - ImageMagick-6.0.2.7 from the BSDPorts.
Here is the debug output from the sucess upload.
Processing status...
- Adding DSC01250.jpg
Resizing/compressing original image
No resizing required
File /usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.jpg type 2.
Executing:
'/usr/local/bin/convert' -quality 100 -size 250x250 +profile '*' '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.jpg' -geometry 250x250 '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.thumb.jpg'
Results:
none
Debug messages::
Status: 0 (expected 0)
Executing:
'/usr/local/bin/jhead' '/usr/local/apache/htdocs/gallery/temp/gallerynkATrk'
Results:
File name : /usr/local/apache/htdocs/gallery/temp/gallerynkATrk
File size : 2907527 bytes
File date : 2004:07:23 10:00:46
Camera make : SONY
Camera model : DSC-F828
Date/Time : 2004:06:01 21:32:43
Resolution : 3264 x 2448
Flash used : No
Focal length : 7.1mm
Exposure time: 0.077 s (1/13)
Aperture : f/2.0
ISO equiv. : 64
Exposure bias:-0.30
Whitebalance : cloudy
Metering Mode: spot
Exposure : program (auto)
Jpeg process : Baseline
Debug messages::
Status: 0 (expected 0)
Executing:
'/usr/local/bin/convert' -quality 100 -size 200x200 +profile '*' '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.jpg' -geometry 200x200 '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.highlight.jpg'
Results:
none
Debug messages::
Status: 0 (expected 0)
- Resizing DSC01250_002
Executing:
'/usr/local/bin/convert' -quality 100 -size 1024x1024 +profile '*' '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.jpg' -geometry 1024x1024 '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.sized.jpg'
Results:
none
Debug messages::
Status: 0 (expected 0)
Executing:
'/usr/local/bin/jhead' '/usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.jpg'
Results:
File name : /usr/local/apache/htdocs/gallery/albums/album01/DSC01250_002.jpg
File size : 2907527 bytes
File date : 2004:07:23 10:00:46
Camera make : SONY
Camera model : DSC-F828
Date/Time : 2004:06:01 21:32:43
Resolution : 3264 x 2448
Flash used : No
Focal length : 7.1mm
Exposure time: 0.077 s (1/13)
Aperture : f/2.0
ISO equiv. : 64
Exposure bias:-0.30
Whitebalance : cloudy
Metering Mode: spot
Exposure : program (auto)
Jpeg process : Baseline
Debug messages::
Status: 0 (expected 0)
No email sent as no valid email addresses were found
Posts: 2322
Looks perfect... you can (and should) disable debug now that everthing's working.