PDA

View Full Version : How to enable GD ?


jujube
05-01-2006, 06:20 AM
I've just installed PIXELPOST. But I cann't get thumbnais.

I think GD is not enabled.

My environment is following ;
PHP-version 4.3.6
MySQL version 4.0.20
GD-lib
File Uploads to pixelpost site are possible.
Server Software Apache/1.3.33 (Unix) PHP/4.3.6 mod_gzip/1.3.19.2a mod_perl/1.27
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Perl 6.8.4

php : Configure Command
'--with-gdbm=shared'
'--with-gd=shared'
'--enable-gd-native-ttf=shared'
'--with-jpeg-dir=shared,/usr/local'
'--with-png-dir=shared,/usr/local'
'--enable-exif=yes,shared'

There is not '--with-gd'
How can I put it ?

I searched and read threads but I can not get the way.
I'm not so good at using telnet, perl neither php...english...but I want to use PIXELPOST !
Please help me.

raminia
05-01-2006, 06:49 AM
you may ask your hoster to install GD-lib to your webspace or you may install it yourself find more info about GD-lib at GD-lib homepage
http://www.boutell.com/gd/

jujube
05-01-2006, 07:11 AM
Thanks a lot raminia !!!

I've installed GD before using Webmin.
But it was not enabled.

I changed configuration of pho.ini
from
; extension=gd.so
to
extension=gd.so
and now it works !

Now I can make thumbnails.
But another problem occured ;-(

When I re-generate thumbs, I can make thumbnails but I get following error message every time.
"Warning: imagejpeg(): supplied argument is not a valid Image resource in /usr/local/apache/htdocs/photolog/includes/functions.php on line 155"

that line is ;
imagejpeg($img,"../thumbnails/thumb=$file",$cfgrow['compression']);

What do I have to do ?

jujube
05-01-2006, 07:48 AM
Bad thumbnail was not appropriate images, named "include".
When I erase it.
No error message shows up.

Thank you !

Now, except simple template, the images are too wide to put in a width of my monitor.
I will try to correct it.

I love pixelpost !

GeoS
05-01-2006, 07:48 AM
Did you chmod 777 /thumbnails and /images dirs?