Instead of trying to re-invent the wheel, or a picture of that wheel, take a look at Paperclip or Carrierwave. Both are plugins that make storing and displaying pictures simple.
I would recommend as well to use a file system storage solution depending on the scale of the project On Jun 12, 10:51 am, joanne <[email protected]> wrote: > thanks i found the way to display the picture on the screen by using > sent_data method to convert link > > On Jun 11, 10:45 pm, Hassan Schroeder <[email protected]> > wrote: > > > > > > > > > On Sat, Jun 11, 2011 at 7:17 PM, joanne ta <[email protected]> wrote: > > > Hi,, do you have any other options for me.. cuz i really have to do in > > > this > > > Then write a controller to fetch the image data from the DB and deliver > > it with the appropriate content-type. > > > Put the URL of that controller/image in your HTML as the image source > > attribute. > > > That's it. Best of luck! > > > -- > > Hassan Schroeder ------------------------ > > [email protected]http://about.me/hassanschroeder > > twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

