Member
Member
tomderks   2006-08-13, 15:06
#1

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 [b]myweb.org/zenphoto/albums/name-of-album/name-off-pic.jpg[/b]

  2. create a test.php file with some basic html in it and[b]" [/b]

  3. call this file from your webserver eg:
    [b]http://myweb.org/test.php[/b]
    and 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:
    [b]"--with-gd =/usr/local"[/b] then further below you should find a bigger block called gd which should look like this:
    [b]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 enabled[/b]

5)IF you find only[b]"--with-gd=shared"[/b] 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.

Developer
Developer
trisweb   2006-08-14, 22:45
#2

Great write-up for those having GD problems.

I'm planning on a better setup script that checks for basic requirements like this; that should help make installation a little better.

Member
Member
tomderks   2006-08-21, 02:02
#3

This would be a great addition for the next big release. IF ofcourese you have time to do it. personnally i could not do such thing. But in the future i could help with an documentation projesct or so.

Junior Member
Junior Member
NeXuS   2006-10-28, 09:41
#4

Hello to all.
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?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.