jCrop中的图像失真问题
html 源代码:
这很奇怪。我在加载图像时调用jCrop函数,我确信jCrop可以获取图像的真实宽度和高度,但结果是图像扭曲了。
有人遇到这个错误吗?
the html srouce code:
That's rellay strange. I call the jCrop function when the image is loaded, I'm sure jCrop can get the real width and height of the image, but the resut is the image is distorted.
Is there anyone encounter this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我参加聚会有点晚了,但目前正在解决这个问题。这是一个选择器错误。您可以在此处获取包含修复程序的分支(尚未正式发布)
https://github .com/tapmodo/Jcrop/pull/75
I'm a bit late to the party, but there is a fix for this in the works. It was a selector bug. You can get the branch with the fix here (it hasn't been officially released)
https://github.com/tapmodo/Jcrop/pull/75