Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
html源代码:
这很奇怪。我在加载图像时调用jCrop函数,我确信jCrop可以得到图像的真实宽度和高度,但结果是图像失真。
有没有人遇到这个错误?
我终于找到了关键点,我的css中img标签设置为“max-width:100%”。我删除它,然后一切正常
我参加聚会有点晚了,但正在解决这个问题。这是一个选择器错误。您可以在此处获取带有修复程序的分支(尚未正式发布)
https://github.com/tapmodo/Jcrop/pull/75