Help - Search - Members - Calendar
Full Version: Gallery not letting me upload images
The Planet Forums > System Administration > General Support Questions
luc
I have hosting here on EV1, and what I've been trying to do is get an installation of Gallery to work. It installed correctly with fantastico and my I can make new albums etc. The problem i am having is whenever I go to upload any pictures I get this error

CODE
Error: Unable to make thumbnail (0)



Does anyone know what I have to do to fix this, if its on my end or someone elses and if I should just go to a different script/gallery in general to save myself and others the trouble of fixing this

Thanks in advance
eth00
Do you have imagemagic or gd setup correctly depending on what you selected in the install? It sounds like it may be having trouble finding the program to convert the images. The other thing to check is that you have the correct permission on the directory where the images go, I believe it is 777.
nrsieber
QUOTE (luc)
I have hosting here on EV1, and what I've been trying to do is get an installation of Gallery to work. It installed correctly with fantastico and my I can make new albums etc.  The problem i am having is whenever I go to upload any pictures I get this error

CODE
Error: Unable to make thumbnail (0)
 

Does anyone know what I have to do to fix this, if its on my end or someone elses and if I should just go to a different script/gallery in general to save myself and others the trouble of fixing this

Thanks in advance


This error could be just about anything. Check that write permissions are set on your upload and temp directories, make sure you have imagemagick or something in a path where gallery can find it (with execute permissions set) and that the correct path is in your config.php.

If this doesn't help, set your gallery to debug mode and post the detailed error here and I'll try to help you. There are also some basic steps to troubleshoot that error on their site http://gallery.menalto.com.
luc
What I did was, go into the configuration wizard to change it into debug mode, however when I went to save the configuration file I got the following errors on that page.
CODE
Error: Could not find /usr/local/netpbm/pnmtojpeg.  Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead).  Please check your configuration (or use ImageMagick).

Error: Could not find /usr/local/netpbm/pnmcomp.  Check your NetPBM directory to see which PNM Composite/Overlay executable you have (or just try using pamcomp instead).  Please check your configuration (or use ImageMagick).


So I'm guessing that my server does not have NetPBM or ImageMagick installed correctly, how would I go about having this done? Can I do it myself, or does it have to be done by a server administrator

Thanks again
theuruguayan
up2date -i netpbm-devel
up2date -i netpbm
luc
QUOTE (theuruguayan)
up2date -i netpbm-devel
up2date -i netpbm

huh???
nrsieber
QUOTE (luc)
So I'm guessing that my server does not have NetPBM or ImageMagick installed correctly, how would I go about having this done? Can I do it myself, or does it have to be done by a server administrator

Thanks again


What you can do is go to www.imagemagick.com and download the binaries and drop them into a cgi-bin directory or any directory that has permissions to run executables.
luc
QUOTE (nrsieber)
What you can do is go to www.imagemagick.com and download the binaries and drop them into a cgi-bin directory or any directory that has permissions to run executables.


Okay yea. I believe I'm running Redhat, and there are only releases for Fedora, should I just download one of those and try that, or should I find out what version of Redhat or other distro, and if so, how.

thanks
nrsieber
QUOTE (luc)
Okay yea. I believe I'm running Redhat, and there are only releases for Fedora, should I just download one of those and try that, or should I find out what version of Redhat or other distro, and if so, how.

thanks


Don't know, I'm not a *nix person icon_sad.gif Again, try searching the gallery site, hopefully someone else here can answer that for you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.