1

Essentially, if a user visits the page, and they press ctrl+v, the image that is currently in their clipboard is pasted. Is this possible? I've been googling around for solutions and couldn't really find anything substantial.

http://www.tinymce.com/tryit/imagemanager/integrated_with_tinymce.php

There's an example. Find any image and put it into your clipboard and it will paste it.

eveo
  • 2,797
  • 15
  • 61
  • 95
  • The image is pasted to where? A WYSIWYG editor? An input field? Should the image has to be uploaded in front? – Martin Rothenberger Mar 02 '12 at 15:07
  • http://stackoverflow.com/questions/490908/paste-an-image-from-clipboard-using-java-script – arunes Mar 02 '12 at 15:09
  • Pasted into anything that you can paste it in really. Would it be possible to paste it into a textbox or an input of sorts? – eveo Mar 02 '12 at 15:16

1 Answers1

0

I did some quick google search's and i found an image uploading site which allows you to ctrl-v your picture to be uploaded.

http://snag.gy/

There javascript is mimified so im having difficulties finding the functionality but that link should give you a good start, plus show you that it is possible.

Edit: Some more info: A blog post explaining how to detect cut, copy and paste on a text field using jquery link

redslazer
  • 349
  • 1
  • 7