Skip to content Skip to sidebar Skip to footer

How Can I Paste An Image From The Clipboard Into A Web Form?

I found this question, but the question is about how to get an image from the clip board into a wyziwyg editor! My question is 'How can I paste an image from the clipboard into a f

Solution 1:

UPDATED 25/11/2014

As Alistar say you can't do this with only javascript and html, but wait, is not so simple, depending on what you need you can try different way!

..clipboard method only works to put strings on the clipboard. For other types of data, such as URLs or images, you will need to use a more complex method...

HTML5

  1. http://caniuse.com/#feat=clipboard
  2. https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent

Flex / Flash / ActionScript

  1. http://www.flexets.com/show-image-from-clipboard
  2. http://upog.wordpress.com/2010/02/14/copy-and-paste-in-flex-web-application/

JAVA

  1. http://www.java2s.com/Code/Java/2D-Graphics-GUI/SendingImageObjectsthroughtheClipboard.htm
  2. http://lassebunk.dk/2009/08/04/clipboard-java-applet/
  3. http://www.devdaily.com/java/java-clipboard-image-copy-paste

ActiveX

Clipboard ActiveX for Image Copy/Paste into Web Forms

Post a Comment for "How Can I Paste An Image From The Clipboard Into A Web Form?"