Error: Unable to make thumbnail
|
mattyshack
Joined: 2004-10-20
Posts: 11 |
Posted: Tue, 2005-03-22 23:30
|
|
I am not a techie person so browsing the message boards, I found people with the same problem. But I don't know much about server configs. So, if you do decide to help me out, please do a little hand holding... I am getting this error when tring to post to my gallery for the first time Processing status... - Adding IMG_0882.JPG ---- |
|

Posts: 13451
FAQ Gallery:c.31 and try a form based upload. Post the debug results.
Posts: 11
I was trying to do a form based upload when I got the error. Does this make a difference?
Posts: 3236
Not a difference in what h0bbel wants you to do. Put your gallery in debug mode (so we get more information) and re-try the upload. The reason for picking the form based upload is that you actually get debug info back. If you used the mini-java applet thing, you wouldn't see any information so it would be totally useless to us (like the error message in your first post).
Posts: 11
OK here it is.
sh: line 1: /usr/local/netpbm/jpegtopnm: No such file or directory
sh: line 1: /usr/local/netpbm/pnmscale: No such file or directory
sh: line 1: /usr/local/netpbm/ppmtojpeg: No such file or directory
how do I get these items installed so they work correctly?
Posts: 3236
From the SF download page, you should find some "netpbm" binaries. You probably want the linux intel ones. You'll have to put them in a directory, make them executable and point gallery to em. See the docs for more info.
Posts: 11
Why isn't this included in the standard install? Weird!?
Posts: 3236
Well, take a moment and think about it.
If your host is windows, you need one set of binaries. If you host is linux, you need another. If your host uses an intel processor, you need one version of one set of binaries. If you host uses an Alpha processor, you need the other version of one set of binaries. If your host runs Solaris, you need a different set of binaries. If your host uses FreeBSD, you need yet another set of binaries.
What if your host already has these binaries installed? What if your host has ImageMagick installed instead? What if its YOUR server and you can install what ever version of IM or NetPBM you want?
Do you want Gallery to include 100mb of binaries for every platform, of which you only need 5-10mb or maybe even none of? Or maybe would you rather pick out the 5-10mb of binaries you need instead?
Posts: 11
OK, so I have downloaded those files, the directory it says to put them in is /usr/local/netpbm. Where on my server is that? is that in the gallery/netpbm? or at the root directory under public_html/
Posts: 3236
You are mistaken, gallery is not telling you to put them in /usr/local/netpbm... it is telling you that IT thought they might be there, but in the end YOU have to tell it where they are.
So if the path to your /albums/ dir is "/home/username/public_html/albums" then I would suggest you put your netpbm binaries in "/home/username/netpbm" if you can (because this is not accessible from the web, no one will be able to just run the netpbm binaries) and if you cannot put them there, put them in "/home/username/public_html/netpbm". You will then have to make sure they are marked executable (something like "chmod 777 *" inside the netpbm directory from your ftp client should do it) and THEN you'll need to tell gallery EXACTLY where you put them.
IF you have FULL access to your web server (which you probably don't), you could potentially put them in /usr/local/netpbm, but I thing you are going to be doing the former, not the latter
Posts: 3236
FAQ Gallery:c.32 may apply, also FAQ Gallery:c.2
Posts: 11
Worked, finally, thanks fryfrog, tak h0bbel
Posts: 3236
np, glad you are up and going