andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


It is not working for me :-(

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Drop Shadowed Thumbnail Creator
View previous topic :: View next topic  
Author Message
philos
Newbie


Joined: 21 May 2003
Posts: 6
Location: Strasbourg

PostPosted: Wed May 21, 2003 3:31 pm    Post subject: It is not working for me :-( Reply with quote

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
View user's profile Send private message Visit poster's website
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Wed May 21, 2003 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
philos
Newbie


Joined: 21 May 2003
Posts: 6
Location: Strasbourg

PostPosted: Thu May 22, 2003 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Thu May 22, 2003 10:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Drop Shadowed Thumbnail Creator All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group