View previous topic :: View next topic |
Author |
Message |
philos Newbie
Joined: 21 May 2003 Posts: 6 Location: Strasbourg
|
Posted: Wed May 21, 2003 3:31 pm Post subject: It is not working for me :-( |
|
|
Hello,
I want to use your dropshadow class, but it's not working with my config
apache 1.3.7
php 4.2.3
i'm not sure of the version of gd, it gives me 1.6.2 or higher on phpinfo()
but I'm rather sure that it is gd 2 because I use the php4-gd2 package of my debian box
when I try test.dropshadow.php with :
$ds->setShadowPath("./shadows/")
$ds->setDebugging(TRUE)
$ds->setImageType("jpg")
if I use a jpg file I get "Drop-shadowed output image could not be created"
$ds->setImageType("png")
if I use a png file I get "Drop-shadowed output image could not be created"
I have all the permission rigths on all the folders (images and shadows)
What I have missed ?
thanks in advance for your help !
Philippe |
|
Back to top |
|
 |
amnuts Site Admin

Joined: 01 Sep 2002 Posts: 662 Location: East Sussex, England
|
Posted: Wed May 21, 2003 3:45 pm Post subject: |
|
|
Hi Philippe,
Welcome to the board! Cheers for checking out the class - sorry you're having problems with it.
I really think that if PHP is reporting that GD is version 1.6.2 or above then you are using a version < 2.0.0. You should try to reinstall GD... Or maybe try to reconfigure PHP to use the newer GD libraries?
Andy |
|
Back to top |
|
 |
philos Newbie
Joined: 21 May 2003 Posts: 6 Location: Strasbourg
|
Posted: Thu May 22, 2003 7:31 am Post subject: |
|
|
OK I have fixed the problem,
I had libgd1-xpm and libgd2-noxpm installed on my debian box
so I remove libgd1-xpm and libgd2-noxpm and add libgd2-xpm
and now it runs well !!!
Thanks a lot for this class, It is a nice code for me to learn using the php gd library.
Philippe |
|
Back to top |
|
 |
amnuts Site Admin

Joined: 01 Sep 2002 Posts: 662 Location: East Sussex, England
|
Posted: Thu May 22, 2003 10:33 am Post subject: |
|
|
Great! Glad you got it to work. You might want to try out the newer version of the class as well, just posted last night and this morning. Lots of updates!
Andy |
|
Back to top |
|
 |
|