我正在使用CamanJs(一个图像处理工具)来编辑我当前的图像,我已经将jCrop与CamanJs集成以用于裁剪目的 http://v2-demos.jcrop.org/demos/camanjs.html这个来源。 它的工作正常,但问题是,它适用于固定宽度的图像。但我需要用响应式图像来做到这一点。 这是一个实时网址:http://128.199.175.24/editimg/crate-editor-popup.html 这是脚本:http://128.199.175.24/editimg/js/corpCaman.js
我认为CamanJs不支持来自远程域的图像,所以我无法创建一个jsfiddle。
如果还有其他更好的jquery工具来处理图像(裁剪,亮度,色调,模糊等),请给我一个建议。
由于
答案 0 :(得分:0)
尝试添加这些样式:
#interface {
width: 100%; // why Do you have it 80%?
}
和
.jcrop-active {
width: 100% !important /* And because it has inline style: you should try to remove that style or you need to use */;
}
PD:您的环境难以重现,所以我没有测试,但让我知道结果;我认为这是一个开始的好地方