RE: [PHP] Image question
| From: | Ed Lazor | Date: | Wed, 15 Sep 2004 00:43:43 +0000 |
| Subject: | RE: [PHP] Image question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196676@lists.php.net to get a copy of this message | ||
Oop... spoke too soon. I was able to store the image into the database, but
now I can't pull it back out and manipulate it with the gd image functions.
Instead of using the imagejpeg function, I can just echo the field and the
image will display in a browser window. How do I restore the data from the
database in a way that I can continue to manipulate it with the image
functions, like imagejpeg($data)?
Thanks,
Ed
> -----Original Message-----
> From: Ed Lazor [mailto:Ed.Lazor@d20news.com]
> Sent: Tuesday, September 14, 2004 5:20 PM
> To: 'Jason Wong'; php-general@lists.php.net
> Subject: RE: [PHP] Image question
>
> Got it. Thanks Jason.
>
> > -----Original Message-----
> > > Imagejpeg($im); // successfully displays image
> >
> > Use the ob_*() functions to capture the output. See archives for
> details.
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php