Comments (1)
因为canvas加载图片需要跨域, IE浏览器无法通过img.crossOrigin跨域,需要使用ajax获取图片然后通过FileReader转为dataURL显示,而FileReader仅支持IE10+
from jigsaw.
Related Issues (20)
- 请教一个问题,我现在把你的工程改了下,现在发现了一些问题 HOT 9
- 问题请教 HOT 1
- 验证码部分放进vue的div里,就不显示图片了:( HOT 1
- 大佬,picsum升级了,不能获取图片了 HOT 1
- 样式问题 HOT 2
- 请问一下,那个切块不要边框,只要阴影怎么添加呢 HOT 4
- 如何在vue项目中使用呢? HOT 4
- 想导出重新刷新图片功能,return里面应该怎么写? HOT 13
- 疑问 HOT 1
- Add a license to the project? HOT 1
- 现在报403 HOT 3
- 如何在TS项目中使用啊? HOT 1
- 如何使用position:fixed样式
- 随机截取背景canvas图片到block内,截取出的不是一整个方块吗? HOT 2
- 可以实现网络图片库找不到从项目里的图片随机挑选吗? HOT 1
- 怎么集成到vue里面去啊? HOT 1
- 很实用也很方便,在谷歌,360之类的浏览器上都不是方块,但是火狐上就成了一方块 HOT 3
- web端拿来做单独的前端验证很好用!!不过老板又说想让截取的小拼图也有滑动验证效果,我在canvas里整了半天也没啥用,请问大佬这个好实现吗? HOT 2
- 整个组件的大小能调整吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jigsaw.