yep, then in the file generateimage.php you'd have
<?
  $im = imagecreate(...);
  // ... image creation code here
  header("Content-Type: image/png");  // I do this anyway, I've found some
browsers complain when you don't
  imagepng();
  imagedestroy($im);
?>

obviously, the above "code" is for png, but you can use any that your gd
library/broswer supports.

-----Original Message-----
From: Engineering Software Center [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 2:42 PM
To: Martin Towell
Cc: [EMAIL PROTECTED]; php
Subject: RE: [PHP] Generate inline image



Thanks for the reply.  But how do I do that exactly?
<img src=\"generateimage.php\"> ?
is this correct?


> HTML docs only contain text. If you want images "inline" then you use the
> <img> tag.
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to