从剪贴板到Web表单粘贴图像 [英] Paste image from clipboard to web form
问题描述
我看到这个之前已经讨论过几次,但那是2010年及以前。现在,我在我的Gmail客户端写一个新的电子邮件,并指出,我可以将图像粘贴到邮件正文/网络表单。
I see that this has been discussed a few times before, but that was 2010 and before. Now i was writing a new email in my gmail client and noted that i could just paste an image into the mail body / webform.
我很高兴地看到,这是我一直在寻找了一段类似的解决方案。
I was quite happy to see this as i have been looking for a similar solution for a while.
任何人都可以提供关于如何工作的一些细节?难道闪?或者一些JavaScript?
Can anyone provide some details on how this works? Is it Flash? Or some JavaScript?
推荐答案
这是HTML5 + JavaScript和或闪存(取决于浏览器)
此链接应该让你strated:的http:// strd6 .COM / 2011/09 / HTML5,JavaScript的粘贴图像数据,在铬/
It is html5 + javascript, and or flash (depends on the browser) This link should get you strated: http://strd6.com/2011/09/html5-javascript-pasting-image-data-in-chrome/
有一个小小的警告,虽然,这只是在Chrome的工作,截至目前。
A little warning though, this only works in chrome as of now.
这篇关于从剪贴板到Web表单粘贴图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!