how to show photo preview in rails

hi all i'm trying to know how to show a photo preview before uploading
a pic in rails can any one help me out .

Thanks in advance

http://www.html5rocks.com/en/tutorials/file/dndfiles/

If you want a preview before the actual upload, then you should do it
with javascript Files API.

Hope it helps...

Nice post. I will use many things of this tutorial

Thanks.

Ricardo Pontes da Silva

rpontes@gmail.com

Facebook Twitter LinkedIn [Google Plus

](https://plus.google.com/u/1/106741611358638500465/)

thank you Mr.Capitan it helped me alot.