Re: Image from database

Greg Donald
Fri, 01 Feb 2008 23:14:11 -0000

On 2/1/08, Ank Ag
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> I want to displa a thumbnail image from the database. this is like when
> a person logs in his thumbnail will be shown. The photo will be stored
> in the database(MSSQL 2000) as binary data.Please help me to upload a
> thumbnail sized image and display it on the screen.

Where''s the code representing your own failed attempt?

Storing images in the database is a bad idea in the realm of
performance.  Why not use the database you already have, the file
system?


--
Greg Donald