Look this article http://www.creativewebspecialist.co.uk/2007/10/30/file-type-icons-on-links-using-css-revisited-using-jquery.aspx
2010/8/26 Matte <[email protected]> > Hello guys, > > I'm developing my first Rails real application on my own. I'm facing > this problem: I would like to show a preview of files inside a page, > the kind of files I want to show can vary from image files (ong, jpeg, > gif, ttf ecc) to text-like files (rtf, doc, txt, pdf, ppt ecc). How > can I do that with rails? Any help would be really appreciated! Thank > you in advance. > > Regards > > Matte > > -- > 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]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Rodrigo Mendonça (62) 8567-3142 -- 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.

