Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old November 10th, 2006, 01:41 PM
AdRock AdRock is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 AdRock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Dropshadows tutorial

I am trying to use the drop shadows tutorial to create a shadow underneath my images but i can't get it to work.

I copied the source code so I wouldn't get anything wrong but the image will not display.

I have used

<img src="dropshadow.php?src=picture.jpg" alt="picture" />

but all i'm getting is a red cross as usual when no image is displayed.

Any ideas why this isn't working?

Reply With Quote
  #2  
Old November 11th, 2006, 01:18 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Dropshadows tutorial

comment out the header line:

header("Content-type: image/jpeg");

then call the script directly and see if you get any error messages:

http://www.yourhost.com/dropshadow.php?src=picture.jpg

Reply With Quote
  #3  
Old November 11th, 2006, 07:11 PM
AdRock AdRock is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 AdRock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Dropshadows tutorial

I tried that and i just get a blank page (putting it in the address bar). I took out header and saved it and tried using the image src but there's no change.

Has anyone got some working code that they can email me?

Reply With Quote
  #4  
Old November 11th, 2006, 11:59 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Dropshadows tutorial

If you take out the header and get a blank page, then it is erroring out somewhere. You should get a screen full of "garbage".

Check your error reporting settings. It sounds like errors are not being shown on screen.

Reply With Quote
  #5  
Old November 18th, 2006, 07:48 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Dropshadows tutorial

All i get is a blank page like you said

Reply With Quote
  #6  
Old November 19th, 2006, 01:17 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Dropshadows tutorial

Sounds like PHP is not showing errors to the web page.....

Reply With Quote
  #7  
Old November 19th, 2006, 01:22 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: Dropshadows tutorial

AdRock, any "working code" I have and would be able to email you is that which already appears in the tutorial. Make sure you have the GD extension installed and error reporting turned on to the max.

-Tim

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > Dropshadows tutorial


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway