zhanziyang

Results 57 comments of zhanziyang

> I cannot get it drawn properly How is it drawn then? Can you post a screenshot and code snippet? Thanks. I made a demo where you can add multiple...

Use `generateBlob` instead of `generateDataUrl`, blob is file object. See the "Upload" example in this page: https://zhanziyang.github.io/vue-croppa/#/demos

So is the image in the right format as the message suggest? Could you provide a demo using codepen/jsfiddle to reproduce this error?

Thank you for pointing that out. @rubencool

Yes. See the "Output Image Dimension" panel in this page: https://zhanziyang.github.io/vue-croppa/#/customization

@carterbryden It's genuine 1000px image.

The way you did it is right. The only problem is the image link does not support CORS. ![image](https://user-images.githubusercontent.com/10041024/39000651-1ccfc936-4427-11e8-9a88-e6ecaae02fa1.png) You see, the there is no `Access-Control-Allow-Origin: *` in the response...

@smplyjr It's not normal. When do you call generateBlob? Can you provide demo that reproduce?

抱歉,这个有点超出这个组件设计的使用范围了,目前没有考虑做。