Hi Eric and pharington,

I'm not certain what you mean by "upload an image" and I don't mean an
upload from the user's own harddisk as with an edit box for the path
etc.

So to clarify: rather I supply the user with a form that has an 'img'
tag to an image on another site and which the user can see (rendered).
If the user submits the form I get the server to itself fetch the
image from the other server but I am exploring the possibility of
directly uploading what is in the client's browser to my rails server
avoiding that second fetch from the other server. It won't save my
rails server bandwidth but it will save the other server.

I suspect you've already answered my question with the 'javascript
security' mention, but I'm not sure.

Am I'm stumbling over the cross-site restrictions, irrespective of
javascript, and that there is no way of doing this?



On 2 May, 15:55, Eric <[email protected]> wrote:
> On May 2, 4:14 am, itsastickup <[email protected]> wrote:
>
> > I would like to submit the data of a rendered image from the users
> > browser in a form.
>
> do you mean you'd like to allow users to upload images?
>
> -eric
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to