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 <matteo.meli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.