Re: [PHP-DB] Storing images

[email protected] (Phpster)
Newsgroups php.db
Message-ID <[email protected]>
Sure is.  Save the data in a blob field. Lots of examples on the net  
on how to get it there and back out again.

Note that you will also find arguments about whether or not to do it  
in the first place. I prefer not to, as it causes significant  
performance issues when the image table gets to a certain size.

Bastien

Sent from my iPod

On Feb 3, 2010, at 2:37 AM, Karl DeSaulniers <[email protected]>  
wrote:

> Hello List,
> Forgive me if this is a noob question, but is it possible to fill a  
> database table with actual image data, IE a jpeg? And then call that  
> data to display the image?
> Or is it better to just reference it stored on the server somewhere  
> and just put the url in the database?
> Thanks,
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.