View previous topic :: View next topic |
Author |
Message |
Neil Hillman Newbie
Joined: 11 Aug 2004 Posts: 2
|
Posted: Wed Aug 11, 2004 4:10 am Post subject: Having problems implementing... |
|
|
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 |
|
 |
Neil Hillman Newbie
Joined: 11 Aug 2004 Posts: 2
|
Posted: Wed Aug 11, 2004 4:28 am Post subject: |
|
|
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 |
|
 |
|
|
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
|