RE: [PHP] Image question
| From: | Gryffyn, Trevor | Date: | Wed, 15 Sep 2004 13:39:24 +0000 |
| Subject: | RE: [PHP] Image question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196726@lists.php.net to get a copy of this message | ||
Jason Paschal posted this link a while ago, regarding storing and
retriving images from MySQL:
http://www.dailymedication.com/modules.php?name=Forums&file=viewtopic&t=
15
-TG
> -----Original Message-----
> From: Ed Lazor [mailto:Ed.Lazor@d20news.com]
> Sent: Tuesday, September 14, 2004 8:44 PM
> To: php-general@lists.php.net
> Subject: RE: [PHP] Image question
>
>
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>