I had some trouble with pictures who did not show when loaded in to zenphoto. This turrned out to be a gd library problem. Here are some hints if you have trouble with (some) pictures not showing.
1) Test to see if the picures are uploaded. Normaly pictures are stored in
myweb.org/zenphoto/albums/name-of-album/name-off-pic.jpg2) create a test.php file with some basic html in it and
"<?php phpinfo() ?> 3) call this file from your webserver eg:
http://myweb.org/test.phpand look for anything gd related personaly i press ctrl+f en type "gd" then the browser will look it up for me.
4) first you should find something like:
"--with-gd =/usr/local" then further below you should find a bigger block called gd which should look like this:
gd:
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled5)IF you find only
"--with-gd=shared" or nothing at all zenphoto might not work ok. Going to another host or compiling apache/php on your own would be the only solutions left.
Comments
I'm planning on a better setup script that checks for basic requirements like this; that should help make installation a little better.
I'm having the same problem here, but I do not understand why ZenPhoto cannot work ok if PHP was compiled with a separate object for GD.
My point is that if PHP was compiled with `--with-gd=shared` the only thing needed for GD to be available should be the .so library and a correct initialization of that.
In my php.ini I do specify the extension (`extension=gd.so`) and it is correctly loaded.
In fact th GD section in phpinfo() correctly reports all image supports enables and FreeType too.
Any clues on why this is not working correctly?