Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Paste images


  • From: mdougherty at pbp.com (Mike Dougherty)
  • Subject: [Javascript] Paste images
  • Date: Mon Jul 24 07:41:15 2006

I have never done this nor do I know how to help you figure it out, but I would attempt to use 
XMLHTTP control to "POST" a form containing an encoded blob representing your clipboard contents - 
assuming you can access the clipboard at all.

If the images are in a web page already, you might consider using the DOM to find the src of the 
document, and communicate the source back to your server.  Perhaps your WebService could use 
server-side xmlhttp to retrieve the images directly from the source.

** usual disclaimers about screen scraping and downloading others' content as your own

On Mon, 24 Jul 2006 14:20:50 +0200
  Rafael Hern?ndez <rhernandez@xxxxxxxxxx> wrote:
> The client OS is Windows and the browsers are Firefox and IExplorer.
> I am trying send to the server a printscreen avoiding the steps to save in disc the image (.jpg, 
>.gif,....)  and to make upload the file.