Paste image from clipboard to web form

旧时模样 提交于 2019-11-28 12:31:32

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/

A little warning though, this only works in chrome as of now.

Here is another alternative, inspired by Github's image paste. Seems to work with jQuery.

https://github.com/Rovak/InlineAttachment

Simon East

This link might be a great starting point for Chrome + Firefox:
http://joelb.me/blog/2011/code-snippet-accessing-clipboard-images-with-javascript/

(from the guy who built Pasteboard)

With IE, it sounds like you might need to resort to HTA, ActiveX, Flex, or Java. Have a look here:
Take a screenshot of a webpage with JavaScript?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!