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.


Having problems implementing...

 
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
Neil Hillman
Newbie


Joined: 11 Aug 2004
Posts: 2

PostPosted: Wed Aug 11, 2004 4:10 am    Post subject: Having problems implementing... Reply with quote

Thanks amnuts,
This is a brilliant class! Unfortunately I am not as brilliant, and am having trouble implementing it. I have uploaded all the necessary files, and checked that I have the correct versions of PHP and GD, so perhaps you could answer a few questions to help get me started:

1). Firstly, when I tried out the default "test.dropshadow.php", I go no results. I noticed that it starts:
Quote:
$ds = new dropShadow(FALSE);

I changed this to "TRUE" and that seemed to work, so why is it set to "FALSE" in the example?

2). The resizing seems to work fine, as the new images size is outputted in the debug messages, but when it gets to the function "applyShadow" I get the message "The shadow files could not be loaded" even though they are there, and in the "./shadows/" directory. Could this be because I have the wrong permissions for the shadow images or the directory itself, and if so, what should they be set to?

3). When reading through your advice to others in this forum I noticed that a some of the functions you where suggesting didn't exist in my version,
$ds->setDebugging(TRUE);
$ds->setImageSize("120");
both of these for example cause "Call to undefined function" errors. Do these functions only work in the older version of the script? Is there any documentation that lists which functions are available, and what their parameters are?

Sorry to bother you with these questions, I think this is an excellent class you have written, and I only hope I can get it working on my site!

Neil
Back to top
View user's profile Send private message
Neil Hillman
Newbie


Joined: 11 Aug 2004
Posts: 2

PostPosted: Wed Aug 11, 2004 4:28 am    Post subject: Reply with quote

After reading surefire's "I'm Lost" thread (http://php.amnuts.com/forums/viewtopic.php?t=114) I realised I had mad the same mistake as him; I had only grabbed 7 of the 8 shadow graphics!

Now it works beautifully! Great job!

Neil
Back to top
View user's profile Send private message
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