|
Posted by Mike on 08/23/06 10:04
Thanks for the explanation but how would I solve my issue?
Do I have to create a script say "createthenewimage.php" which does
what I have done previously and then in the HTML in a new script do
like you say...
<img src="createthenewimage.php" />
Thanks
Mike
Rik wrote:
> 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]
|