|
Posted by Rik on 08/23/06 09:50
Mike wrote:
> // Output
> imagejpeg($image_p, null, 100);
>>
>
> What I need to do is display the output image in say a cell in a table
> but I can't get it to work.
>
> For example...
> <td><?php imagejpeg($image_p, null, 100);?> </td>
> <td> </td>
> But this just outputs what looks like the text version of the image.
>
> Anyone got any idea??
Yes, an image in a HTML is a seperate document from the HTML markup, and
will need a seperate request with it's own headers. You cannot 'embed'
images like this. You can reference a script that outputs the image, like
<img src="uploadedimg.php" />, or save it somewhere temporarily.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|