Re: GD Question
| From: | Craig Hoffman | Date: | Tue, 05 Apr 2005 18:40:28 +0000 |
| Subject: | Re: GD Question | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39124@lists.php.net to get a copy of this message | ||
Thanks - it works perfectly!
On Apr 5, 2005, at 1:33 PM, Simon Rees wrote:
On Tuesday 05 April 2005 19:19, Craig Hoffman wrote:The script works fine when I test it on a stand alone page. I'm just not sure how to include with the "rest" of the site.You can't do it all from the same script (AFAIK). This is because of the way http/browsers work - each image is requested as a separate file. Put your image code in a separate script and request it in the src attribute of your html image tags. e.g. <img src="display_image.php"> Simon -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon Rees | tech-lists@zodiac2000.co.uk | ORA-03113: end-of-file on communication channel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php