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

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


Ricardo Pontes da Silva

[email protected]
[image: Facebook] [image:
Twitter] [image:
LinkedIn] [image:
Google Plus]

2012/5/30 Capitan Y. [email protected]

It should be noted that this doesn’t work in IE9.

thank you Mr.Capitan it helped me alot.