You are here: Re: imagejpeg « All PHP « IT news, forums, messages
Re: imagejpeg

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>&nbsp;</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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация