Tuesday, September 25, 2012

Re: [Rails] Show thumbnail preview of image before upload

2012/9/25 Avantec Van <lists@ruby-forum.com>:
> Is there any ruby way to show thumbnail preview of image before upload?

No!

There can't be! Ruby needs you to have that image on the server to
generate a thumb of it, but before the upload it is not on the server.

What you try here, is not possible in PHP, whatever.NET or any other
kind of server-side-scripting-language.

But wait… Once, I stumbled upon a project, that is a ruby-interpreter
implemented in JavaScript, but can't remember its name. With that it
would be possible to generate the preview, but not to save it
anywhere…

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate