Ruby on Rails Thursday, January 17, 2013




On Thu, Jan 17, 2013 at 6:27 PM, Avi <aavinash.behera@gmail.com> wrote:
Hello All,

I am uploading an image from disc. While choosing the image I want to show that image on the UI.
How can I do that?
I am using paperclip gem.

before html5, i think this is not possible since javascript shouldn't have access to your
file system.  what you can do is upload the image first then show a preview after.
 

Thanks,
Avi 

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/6hjaYq708PUJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment