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.


Drop Shadow and Front Page Extensions

 
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
olfudydudy
Newbie


Joined: 12 Oct 2004
Posts: 10
Location: Atlanta, GA

PostPosted: Thu Feb 03, 2005 5:58 pm    Post subject: Drop Shadow and Front Page Extensions Reply with quote

Hi Andy,
Greetings from Atlanta.
I have a question regarding the drop shadow class and a server with Front Page Extensions enabled. I can't get the drop shadow class to work at all. It works fine on my server, which does not have FP Ext. enabled. That is the only difference I can see between the two. Same host, same features, etc. I know that with FP Ext enabled, php can't write to a file. Is this the reason? Perhaps the graphic routines use temporary files for them to work? Anyway, if you could just verify that this is the reason I would appreciate it. By the way, it is my nephews website and he programs only in Front Page and Flash. It's frustrating when I try to do special things for him like the drop shadow. Crying or Very sad Oh well.
George
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
amnuts
Site Admin


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

PostPosted: Fri Feb 04, 2005 3:44 am    Post subject: Reply with quote

Hi George,

I have to admit; I have no idea! I've not tried it on a server with FP extensions, nor did I know that you couldn't write to a file with FP extensions installed (seems a little restricting to me!)

The routines, as far as I know, process in memory. Only when you saveShadow/Final does it try to save the file. I think GD processes it all in memory, too, but cannot say for certain.

Have you tried to run on debugging? Produce anything helpful?

Are you displaying the image like <img src="script.php?params">? If so, check to make sure there is no whitespace in the script or the class files (outside of the <?php ?> tags). I can imagine that FP, if that was used to upload the files, added an extra \r\n on the end, or something like that.

Let me know what you find out!

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
olfudydudy
Newbie


Joined: 12 Oct 2004
Posts: 10
Location: Atlanta, GA

PostPosted: Tue Feb 15, 2005 12:36 pm    Post subject: Reply with quote

Hi Andy,
Greetings from Atlanta.
OK, I give up. I can't get it to do anything on his web site. I'm not going to worry about it anymore. It's just not worth it to me. It works great on my site and that's what counts to me. If someone want's to look into it and post the results, that would be great, but I'm done playing with it.
Basically I just copied the working scripts from my website to his, and changed the paths to match his site. Didn't work. I pasted the dropshadow class right into the same file as the script I was using. No good. Yes, I did refer to the script in the html as "<img src="script.php?params">. After trying numerous other things, I gave up. I ended up referring to the script on my website from his website and saving the files on mine. Then copied the shadowed images to his. Just one more reason I don't use Front Page.
Oh well, time to move on to something else. Sorry, I didn't mean to complain so much, but it was frustrating.
Keep up the good work.
George
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
olfudydudy
Newbie


Joined: 12 Oct 2004
Posts: 10
Location: Atlanta, GA

PostPosted: Tue Feb 15, 2005 7:16 pm    Post subject: Reply with quote

Hi Andy,
Please disregard the above post. I just got the drop shadow to work on the site with Front Page Extensions enabled. I started all over and recopied the files from my server onto the other one and tried it again. This time it worked. I have no idea what was wrong before but I must have done something wrong. Anyway, it does work. Just wanted to let you know.
You have a great website here and lots of geat scripts. I also appreciate all the time you spend and the patience you have answering all our questions with helpful hints. Thanks again.
George
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
amnuts
Site Admin


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

PostPosted: Wed Feb 16, 2005 3:47 am    Post subject: Reply with quote

Hi George,

Well, I'm glad you finally got it working (even if you don't know how! Wink ) - I'm just sorry you had to go through such pains to get there. (And they say computers are meant to make our lives easier? They cause more grey hairs to appear, is what they do!)

Many thanks for your very kind words about the site and scripts!

Regards,

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