Re: Gif into page.
| From: | Rasmus Lerdorf | Date: | Fri, 03 Nov 2000 19:43:44 +0000 |
| Subject: | Re: Gif into page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23619@lists.php.net to get a copy of this message | ||
> Hi all.
>
> I've been trying to send a gif to my browser without creating a .gif file.
> With "Header("Content-type: image/gif");" and
> "imagegif($image);" , it does the goal very well.
>
> Now I want to insert the gif into the page (suppose I want to display a
> catalog).
It's easy. If your script to create the gif is called foo.php then simply
use the tag:
<img src="foo.php">
and you will see your image on that page.
-Rasmus